1(() => { 2 var xb = Object.create; 3 var li = Object.defineProperty; 4 var kb = Object.getOwnPropertyDescriptor; 5 var Sb = Object.getOwnPropertyNames; 6 var Cb = Object.getPrototypeOf, 7 Ab = Object.prototype.hasOwnProperty; 8 var uu = (i) => li(i, '__esModule', { value: !0 }); 9 var fu = (i) => { 10 if (typeof require != 'undefined') return require(i); 11 throw new Error('Dynamic require of "' + i + '" is not supported'); 12 }; 13 var C = (i, e) => () => (i && (e = i((i = 0))), e); 14 var v = (i, e) => () => (e || i((e = { exports: {} }).exports, e), e.exports), 15 Ae = (i, e) => { 16 uu(i); 17 for (var t in e) li(i, t, { get: e[t], enumerable: !0 }); 18 }, 19 _b = (i, e, t) => { 20 if ((e && typeof e == 'object') || typeof e == 'function') 21 for (let r of Sb(e)) 22 !Ab.call(i, r) && 23 r !== 'default' && 24 li(i, r, { 25 get: () => e[r], 26 enumerable: !(t = kb(e, r)) || t.enumerable, 27 }); 28 return i; 29 }, 30 K = (i) => 31 _b( 32 uu( 33 li( 34 i != null ? xb(Cb(i)) : {}, 35 'default', 36 i && i.__esModule && 'default' in i 37 ? { get: () => i.default, enumerable: !0 } 38 : { value: i, enumerable: !0 }, 39 ), 40 ), 41 i, 42 ); 43 var h, 44 l = C(() => { 45 h = { platform: '', env: {}, versions: { node: '14.17.6' } }; 46 }); 47 var Ob, 48 re, 49 je = C(() => { 50 l(); 51 (Ob = 0), 52 (re = { 53 readFileSync: (i) => self[i] || '', 54 statSync: () => ({ mtimeMs: Ob++ }), 55 promises: { readFile: (i) => Promise.resolve(self[i] || '') }, 56 }); 57 }); 58 var Qn = v((XO, pu) => { 59 l(); 60 ('use strict'); 61 var cu = class { 62 constructor(e = {}) { 63 if (!(e.maxSize && e.maxSize > 0)) throw new TypeError('`maxSize` must be a number greater than 0'); 64 if (typeof e.maxAge == 'number' && e.maxAge === 0) 65 throw new TypeError('`maxAge` must be a number greater than 0'); 66 (this.maxSize = e.maxSize), 67 (this.maxAge = e.maxAge || 1 / 0), 68 (this.onEviction = e.onEviction), 69 (this.cache = new Map()), 70 (this.oldCache = new Map()), 71 (this._size = 0); 72 } 73 _emitEvictions(e) { 74 if (typeof this.onEviction == 'function') for (let [t, r] of e) this.onEviction(t, r.value); 75 } 76 _deleteIfExpired(e, t) { 77 return typeof t.expiry == 'number' && t.expiry <= Date.now() 78 ? (typeof this.onEviction == 'function' && this.onEviction(e, t.value), this.delete(e)) 79 : !1; 80 } 81 _getOrDeleteIfExpired(e, t) { 82 if (this._deleteIfExpired(e, t) === !1) return t.value; 83 } 84 _getItemValue(e, t) { 85 return t.expiry ? this._getOrDeleteIfExpired(e, t) : t.value; 86 } 87 _peek(e, t) { 88 let r = t.get(e); 89 return this._getItemValue(e, r); 90 } 91 _set(e, t) { 92 this.cache.set(e, t), 93 this._size++, 94 this._size >= this.maxSize && 95 ((this._size = 0), 96 this._emitEvictions(this.oldCache), 97 (this.oldCache = this.cache), 98 (this.cache = new Map())); 99 } 100 _moveToRecent(e, t) { 101 this.oldCache.delete(e), this._set(e, t); 102 } 103 *_entriesAscending() { 104 for (let e of this.oldCache) { 105 let [t, r] = e; 106 this.cache.has(t) || (this._deleteIfExpired(t, r) === !1 && (yield e)); 107 } 108 for (let e of this.cache) { 109 let [t, r] = e; 110 this._deleteIfExpired(t, r) === !1 && (yield e); 111 } 112 } 113 get(e) { 114 if (this.cache.has(e)) { 115 let t = this.cache.get(e); 116 return this._getItemValue(e, t); 117 } 118 if (this.oldCache.has(e)) { 119 let t = this.oldCache.get(e); 120 if (this._deleteIfExpired(e, t) === !1) return this._moveToRecent(e, t), t.value; 121 } 122 } 123 set(e, t, { maxAge: r = this.maxAge === 1 / 0 ? void 0 : Date.now() + this.maxAge } = {}) { 124 this.cache.has(e) ? this.cache.set(e, { value: t, maxAge: r }) : this._set(e, { value: t, expiry: r }); 125 } 126 has(e) { 127 return this.cache.has(e) 128 ? !this._deleteIfExpired(e, this.cache.get(e)) 129 : this.oldCache.has(e) 130 ? !this._deleteIfExpired(e, this.oldCache.get(e)) 131 : !1; 132 } 133 peek(e) { 134 if (this.cache.has(e)) return this._peek(e, this.cache); 135 if (this.oldCache.has(e)) return this._peek(e, this.oldCache); 136 } 137 delete(e) { 138 let t = this.cache.delete(e); 139 return t && this._size--, this.oldCache.delete(e) || t; 140 } 141 clear() { 142 this.cache.clear(), this.oldCache.clear(), (this._size = 0); 143 } 144 resize(e) { 145 if (!(e && e > 0)) throw new TypeError('`maxSize` must be a number greater than 0'); 146 let t = [...this._entriesAscending()], 147 r = t.length - e; 148 r < 0 149 ? ((this.cache = new Map(t)), (this.oldCache = new Map()), (this._size = t.length)) 150 : (r > 0 && this._emitEvictions(t.slice(0, r)), 151 (this.oldCache = new Map(t.slice(r))), 152 (this.cache = new Map()), 153 (this._size = 0)), 154 (this.maxSize = e); 155 } 156 *keys() { 157 for (let [e] of this) yield e; 158 } 159 *values() { 160 for (let [, e] of this) yield e; 161 } 162 *[Symbol.iterator]() { 163 for (let e of this.cache) { 164 let [t, r] = e; 165 this._deleteIfExpired(t, r) === !1 && (yield [t, r.value]); 166 } 167 for (let e of this.oldCache) { 168 let [t, r] = e; 169 this.cache.has(t) || (this._deleteIfExpired(t, r) === !1 && (yield [t, r.value])); 170 } 171 } 172 *entriesDescending() { 173 let e = [...this.cache]; 174 for (let t = e.length - 1; t >= 0; --t) { 175 let r = e[t], 176 [n, a] = r; 177 this._deleteIfExpired(n, a) === !1 && (yield [n, a.value]); 178 } 179 e = [...this.oldCache]; 180 for (let t = e.length - 1; t >= 0; --t) { 181 let r = e[t], 182 [n, a] = r; 183 this.cache.has(n) || (this._deleteIfExpired(n, a) === !1 && (yield [n, a.value])); 184 } 185 } 186 *entriesAscending() { 187 for (let [e, t] of this._entriesAscending()) yield [e, t.value]; 188 } 189 get size() { 190 if (!this._size) return this.oldCache.size; 191 let e = 0; 192 for (let t of this.oldCache.keys()) this.cache.has(t) || e++; 193 return Math.min(this._size + e, this.maxSize); 194 } 195 }; 196 pu.exports = cu; 197 }); 198 var du, 199 hu = C(() => { 200 l(); 201 du = (i) => i && i._hash; 202 }); 203 function ui(i) { 204 return du(i, { ignoreUnknown: !0 }); 205 } 206 var mu = C(() => { 207 l(); 208 hu(); 209 }); 210 function Xe(i) { 211 if (((i = `${i}`), i === '0')) return '0'; 212 if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(i)) 213 return i.replace(/^[+-]?/, (t) => (t === '-' ? '' : '-')); 214 let e = ['var', 'calc', 'min', 'max', 'clamp']; 215 for (let t of e) if (i.includes(`${t}(`)) return `calc(${i} * -1)`; 216 } 217 var fi = C(() => { 218 l(); 219 }); 220 var gu, 221 yu = C(() => { 222 l(); 223 gu = [ 224 'preflight', 225 'container', 226 'accessibility', 227 'pointerEvents', 228 'visibility', 229 'position', 230 'inset', 231 'isolation', 232 'zIndex', 233 'order', 234 'gridColumn', 235 'gridColumnStart', 236 'gridColumnEnd', 237 'gridRow', 238 'gridRowStart', 239 'gridRowEnd', 240 'float', 241 'clear', 242 'margin', 243 'boxSizing', 244 'lineClamp', 245 'display', 246 'aspectRatio', 247 'size', 248 'height', 249 'maxHeight', 250 'minHeight', 251 'width', 252 'minWidth', 253 'maxWidth', 254 'flex', 255 'flexShrink', 256 'flexGrow', 257 'flexBasis', 258 'tableLayout', 259 'captionSide', 260 'borderCollapse', 261 'borderSpacing', 262 'transformOrigin', 263 'translate', 264 'rotate', 265 'skew', 266 'scale', 267 'transform',
268 'animation', 269 'cursor', 270 'touchAction', 271 'userSelect', 272 'resize', 273 'scrollSnapType', 274 'scrollSnapAlign', 275 'scrollSnapStop', 276 'scrollMargin', 277 'scrollPadding', 278 'listStylePosition', 279 'listStyleType', 280 'listStyleImage', 281 'appearance', 282 'columns', 283 'breakBefore', 284 'breakInside', 285 'breakAfter', 286 'gridAutoColumns', 287 'gridAutoFlow', 288 'gridAutoRows', 289 'gridTemplateColumns', 290 'gridTemplateRows', 291 'flexDirection', 292 'flexWrap', 293 'placeContent', 294 'placeItems', 295 'alignContent', 296 'alignItems', 297 'justifyContent', 298 'justifyItems', 299 'gap', 300 'space', 301 'divideWidth', 302 'divideStyle', 303 'divideColor', 304 'divideOpacity', 305 'placeSelf', 306 'alignSelf', 307 'justifySelf', 308 'overflow', 309 'overscrollBehavior', 310 'scrollBehavior', 311 'textOverflow', 312 'hyphens', 313 'whitespace', 314 'textWrap', 315 'wordBreak', 316 'borderRadius', 317 'borderWidth', 318 'borderStyle', 319 'borderColor', 320 'borderOpacity', 321 'backgroundColor', 322 'backgroundOpacity', 323 'backgroundImage', 324 'gradientColorStops', 325 'boxDecorationBreak', 326 'backgroundSize', 327 'backgroundAttachment', 328 'backgroundClip', 329 'backgroundPosition', 330 'backgroundRepeat', 331 'backgroundOrigin', 332 'fill', 333 'stroke', 334 'strokeWidth', 335 'objectFit', 336 'objectPosition', 337 'padding', 338 'textAlign', 339 'textIndent', 340 'verticalAlign', 341 'fontFamily', 342 'fontSize', 343 'fontWeight', 344 'textTransform',
345 'fontStyle', 346 'fontVariantNumeric', 347 'lineHeight', 348 'letterSpacing', 349 'textColor', 350 'textOpacity', 351 'textDecoration', 352 'textDecorationColor', 353 'textDecorationStyle', 354 'textDecorationThickness', 355 'textUnderlineOffset', 356 'fontSmoothing', 357 'placeholderColor', 358 'placeholderOpacity', 359 'caretColor', 360 'accentColor', 361 'opacity', 362 'backgroundBlendMode', 363 'mixBlendMode', 364 'boxShadow', 365 'boxShadowColor', 366 'outlineStyle', 367 'outlineWidth', 368 'outlineOffset', 369 'outlineColor', 370 'ringWidth', 371 'ringColor', 372 'ringOpacity', 373 'ringOffsetWidth', 374 'ringOffsetColor', 375 'blur', 376 'brightness', 377 'contrast', 378 'dropShadow', 379 'grayscale', 380 'hueRotate', 381 'invert', 382 'saturate', 383 'sepia', 384 'filter', 385 'backdropBlur', 386 'backdropBrightness', 387 'backdropContrast', 388 'backdropGrayscale', 389 'backdropHueRotate', 390 'backdropInvert', 391 'backdropOpacity', 392 'backdropSaturate', 393 'backdropSepia', 394 'backdropFilter', 395 'transitionProperty', 396 'transitionDelay', 397 'transitionDuration', 398 'transitionTimingFunction', 399 'willChange', 400 'content', 401 'forcedColorAdjust', 402 ]; 403 }); 404 function wu(i, e) { 405 return i === void 0 406 ? e 407 : Array.isArray(i) 408 ? i 409 : [...new Set(e.filter((r) => i !== !1 && i[r] !== !1).concat(Object.keys(i).filter((r) => i[r] !== !1)))]; 410 } 411 var bu = C(() => { 412 l(); 413 }); 414 var vu = {}; 415 Ae(vu, { default: () => _e }); 416 var _e, 417 ci = C(() => { 418 l(); 419 _e = new Proxy({}, { get: () => String });
420 }); 421 function Jn(i, e, t) { 422 (typeof h != 'undefined' && h.env.JEST_WORKER_ID) || 423 (t && xu.has(t)) || 424 (t && xu.add(t), console.warn(''), e.forEach((r) => console.warn(i, '-', r))); 425 } 426 function Xn(i) { 427 return _e.dim(i); 428 } 429 var xu, 430 F, 431 Oe = C(() => { 432 l(); 433 ci(); 434 xu = new Set(); 435 F = { 436 info(i, e) { 437 Jn(_e.bold(_e.cyan('info')), ...(Array.isArray(i) ? [i] : [e, i])); 438 }, 439 warn(i, e) { 440 ['content-problems'].includes(i) || 441 Jn(_e.bold(_e.yellow('warn')), ...(Array.isArray(i) ? [i] : [e, i])); 442 }, 443 risk(i, e) { 444 Jn(_e.bold(_e.magenta('risk')), ...(Array.isArray(i) ? [i] : [e, i])); 445 }, 446 }; 447 }); 448 var ku = {}; 449 Ae(ku, { default: () => Kn }); 450 function sr({ version: i, from: e, to: t }) { 451 F.warn(`${e}-color-renamed`, [ 452 `As of Tailwind CSS ${i}, \`${e}\` has been renamed to \`${t}\`.`, 453 'Update your configuration file to silence this warning.', 454 ]); 455 } 456 var Kn, 457 Zn = C(() => { 458 l(); 459 Oe(); 460 Kn = { 461 inherit: 'inherit', 462 current: 'currentColor', 463 transparent: 'transparent', 464 black: '#000', 465 white: '#fff', 466 slate: { 467 50: '#f8fafc', 468 100: '#f1f5f9', 469 200: '#e2e8f0', 470 300: '#cbd5e1', 471 400: '#94a3b8', 472 500: '#64748b', 473 600: '#475569', 474 700: '#334155', 475 800: '#1e293b',
476 900: '#0f172a', 477 950: '#020617', 478 }, 479 gray: { 480 50: '#f9fafb', 481 100: '#f3f4f6', 482 200: '#e5e7eb', 483 300: '#d1d5db', 484 400: '#9ca3af', 485 500: '#6b7280', 486 600: '#4b5563', 487 700: '#374151', 488 800: '#1f2937', 489 900: '#111827', 490 950: '#030712', 491 }, 492 zinc: { 493 50: '#fafafa', 494 100: '#f4f4f5', 495 200: '#e4e4e7', 496 300: '#d4d4d8', 497 400: '#a1a1aa', 498 500: '#71717a', 499 600: '#52525b', 500 700: '#3f3f46', 501 800: '#27272a', 502 900: '#18181b', 503 950: '#09090b', 504 }, 505 neutral: { 506 50: '#fafafa', 507 100: '#f5f5f5', 508 200: '#e5e5e5', 509 300: '#d4d4d4', 510 400: '#a3a3a3', 511 500: '#737373', 512 600: '#525252', 513 700: '#404040', 514 800: '#262626', 515 900: '#171717', 516 950: '#0a0a0a', 517 }, 518 stone: { 519 50: '#fafaf9', 520 100: '#f5f5f4', 521 200: '#e7e5e4', 522 300: '#d6d3d1', 523 400: '#a8a29e', 524 500: '#78716c', 525 600: '#57534e', 526 700: '#44403c', 527 800: '#292524', 528 900: '#1c1917', 529 950: '#0c0a09', 530 }, 531 red: { 532 50: '#fef2f2', 533 100: '#fee2e2', 534 200: '#fecaca', 535 300: '#fca5a5', 536 400: '#f87171', 537 500: '#ef4444', 538 600: '#dc2626', 539 700: '#b91c1c', 540 800: '#991b1b', 541 900: '#7f1d1d', 542 950: '#450a0a', 543 }, 544 orange: { 545 50: '#fff7ed', 546 100: '#ffedd5', 547 200: '#fed7aa', 548 300: '#fdba74', 549 400: '#fb923c', 550 500: '#f97316', 551 600: '#ea580c', 552 700: '#c2410c', 553 800: '#9a3412', 554 900: '#7c2d12', 555 950: '#431407', 556 }, 557 amber: { 558 50: '#fffbeb', 559 100: '#fef3c7', 560 200: '#fde68a', 561 300: '#fcd34d', 562 400: '#fbbf24', 563 500: '#f59e0b', 564 600: '#d97706', 565 700: '#b45309', 566 800: '#92400e', 567 900: '#78350f', 568 950: '#451a03', 569 }, 570 yellow: { 571 50: '#fefce8', 572 100: '#fef9c3', 573 200: '#fef08a', 574 300: '#fde047', 575 400: '#facc15', 576 500: '#eab308', 577 600: '#ca8a04', 578 700: '#a16207', 579 800: '#854d0e', 580 900: '#713f12', 581 950: '#422006', 582 }, 583 lime: { 584 50: '#f7fee7', 585 100: '#ecfccb', 586 200: '#d9f99d', 587 300: '#bef264', 588 400: '#a3e635', 589 500: '#84cc16', 590 600: '#65a30d', 591 700: '#4d7c0f', 592 800: '#3f6212', 593 900: '#365314', 594 950: '#1a2e05', 595 }, 596 green: { 597 50: '#f0fdf4', 598 100: '#dcfce7', 599 200: '#bbf7d0', 600 300: '#86efac', 601 400: '#4ade80', 602 500: '#22c55e', 603 600: '#16a34a', 604 700: '#15803d', 605 800: '#166534', 606 900: '#14532d', 607 950: '#052e16', 608 }, 609 emerald: { 610 50: '#ecfdf5', 611 100: '#d1fae5', 612 200: '#a7f3d0', 613 300: '#6ee7b7', 614 400: '#34d399', 615 500: '#10b981', 616 600: '#059669', 617 700: '#047857', 618 800: '#065f46', 619 900: '#064e3b', 620 950: '#022c22', 621 }, 622 teal: { 623 50: '#f0fdfa', 624 100: '#ccfbf1', 625 200: '#99f6e4', 626 300: '#5eead4', 627 400: '#2dd4bf', 628 500: '#14b8a6', 629 600: '#0d9488', 630 700: '#0f766e', 631 800: '#115e59', 632 900: '#134e4a', 633 950: '#042f2e', 634 }, 635 cyan: { 636 50: '#ecfeff', 637 100: '#cffafe', 638 200: '#a5f3fc', 639 300: '#67e8f9', 640 400: '#22d3ee', 641 500: '#06b6d4', 642 600: '#0891b2', 643 700: '#0e7490', 644 800: '#155e75', 645 900: '#164e63', 646 950: '#083344', 647 }, 648 sky: { 649 50: '#f0f9ff', 650 100: '#e0f2fe', 651 200: '#bae6fd', 652 300: '#7dd3fc', 653 400: '#38bdf8', 654 500: '#0ea5e9', 655 600: '#0284c7', 656 700: '#0369a1', 657 800: '#075985', 658 900: '#0c4a6e', 659 950: '#082f49', 660 }, 661 blue: { 662 50: '#eff6ff', 663 100: '#dbeafe', 664 200: '#bfdbfe', 665 300: '#93c5fd', 666 400: '#60a5fa', 667 500: '#3b82f6', 668 600: '#2563eb', 669 700: '#1d4ed8', 670 800: '#1e40af', 671 900: '#1e3a8a', 672 950: '#172554', 673 }, 674 indigo: { 675 50: '#eef2ff', 676 100: '#e0e7ff', 677 200: '#c7d2fe', 678 300: '#a5b4fc', 679 400: '#818cf8', 680 500: '#6366f1', 681 600: '#4f46e5', 682 700: '#4338ca', 683 800: '#3730a3', 684 900: '#312e81', 685 950: '#1e1b4b', 686 }, 687 violet: { 688 50: '#f5f3ff', 689 100: '#ede9fe', 690 200: '#ddd6fe', 691 300: '#c4b5fd', 692 400: '#a78bfa', 693 500: '#8b5cf6', 694 600: '#7c3aed', 695 700: '#6d28d9', 696 800: '#5b21b6', 697 900: '#4c1d95', 698 950: '#2e1065', 699 }, 700 purple: { 701 50: '#faf5ff', 702 100: '#f3e8ff', 703 200: '#e9d5ff', 704 300: '#d8b4fe', 705 400: '#c084fc', 706 500: '#a855f7', 707 600: '#9333ea', 708 700: '#7e22ce', 709 800: '#6b21a8', 710 900: '#581c87', 711 950: '#3b0764', 712 }, 713 fuchsia: { 714 50: '#fdf4ff', 715 100: '#fae8ff', 716 200: '#f5d0fe', 717 300: '#f0abfc', 718 400: '#e879f9', 719 500: '#d946ef', 720 600: '#c026d3', 721 700: '#a21caf', 722 800: '#86198f', 723 900: '#701a75', 724 950: '#4a044e', 725 }, 726 pink: { 727 50: '#fdf2f8', 728 100: '#fce7f3',
729 200: '#fbcfe8', 730 300: '#f9a8d4', 731 400: '#f472b6', 732 500: '#ec4899', 733 600: '#db2777', 734 700: '#be185d', 735 800: '#9d174d', 736 900: '#831843', 737 950: '#500724', 738 }, 739 rose: { 740 50: '#fff1f2', 741 100: '#ffe4e6', 742 200: '#fecdd3', 743 300: '#fda4af', 744 400: '#fb7185', 745 500: '#f43f5e', 746 600: '#e11d48', 747 700: '#be123c', 748 800: '#9f1239', 749 900: '#881337', 750 950: '#4c0519', 751 }, 752 get lightBlue() { 753 return sr({ version: 'v2.2', from: 'lightBlue', to: 'sky' }), this.sky; 754 }, 755 get warmGray() { 756 return sr({ version: 'v3.0', from: 'warmGray', to: 'stone' }), this.stone; 757 }, 758 get trueGray() { 759 return sr({ version: 'v3.0', from: 'trueGray', to: 'neutral' }), this.neutral; 760 }, 761 get coolGray() { 762 return sr({ version: 'v3.0', from: 'coolGray', to: 'gray' }), this.gray; 763 }, 764 get blueGray() { 765 return sr({ version: 'v3.0', from: 'blueGray', to: 'slate' }), this.slate; 766 }, 767 }; 768 }); 769 function es(i, ...e) { 770 for (let t of e) { 771 for (let r in t) i?.hasOwnProperty?.(r) || (i[r] = t[r]); 772 for (let r of Object.getOwnPropertySymbols(t)) i?.hasOwnProperty?.(r) || (i[r] = t[r]); 773 } 774 return i; 775 } 776 var Su = C(() => { 777 l(); 778 }); 779 function Ke(i) { 780 if (Array.isArray(i)) return i; 781 let e = i.split('[').length - 1, 782 t = i.split(']').length - 1; 783 if (e !== t) throw new Error(`Path is invalid. Has unbalanced brackets: ${i}`); 784 return i.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean); 785 } 786 var pi = C(() => { 787 l(); 788 }); 789 function Z(i, e) { 790 return di.future.includes(e) 791 ? i.future === 'all' || (i?.future?.[e] ?? Cu[e] ?? !1) 792 : di.experimental.includes(e) 793 ? i.experimental === 'all' || (i?.experimental?.[e] ?? Cu[e] ?? !1) 794 : !1; 795 } 796 function Au(i) { 797 return i.experimental === 'all' 798 ? di.experimental 799 : Object.keys(i?.experimental ?? {}).filter((e) => di.experimental.includes(e) && i.experimental[e]); 800 } 801 function _u(i) { 802 if (h.env.JEST_WORKER_ID === void 0 && Au(i).length > 0) { 803 let e = Au(i) 804 .map((t) => _e.yellow(t)) 805 .join(', '); 806 F.warn('experimental-flags-enabled', [ 807 `You have enabled experimental features: ${e}`, 808 'Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time.', 809 ]); 810 } 811 } 812 var Cu, 813 di, 814 ze = C(() => { 815 l(); 816 ci(); 817 Oe(); 818 (Cu = { 819 optimizeUniversalDefaults: !1, 820 generalizedModifiers: !0, 821 get disableColorOpacityUtilitiesByDefault() { 822 return !1; 823 }, 824 get relativeContentPathsByDefault() { 825 return !1; 826 }, 827 }), 828 (di = { 829 future: [ 830 'hoverOnlyWhenSupported', 831 'respectDefaultRingColorOpacity', 832 'disableColorOpacityUtilitiesByDefault', 833 'relativeContentPathsByDefault', 834 ], 835 experimental: ['optimizeUniversalDefaults', 'generalizedModifiers'], 836 }); 837 }); 838 function Ou(i) { 839 (() => { 840 if ( 841 i.purge || 842 !i.content || 843 (!Array.isArray(i.content) && !(typeof i.content == 'object' && i.content !== null)) 844 ) 845 return !1; 846 if (Array.isArray(i.content)) 847 return i.content.every((t) => 848 typeof t == 'string' 849 ? !0 850 : !(typeof t?.raw != 'string' || (t?.extension && typeof t?.extension != 'string')), 851 ); 852 if (typeof i.content == 'object' && i.content !== null) { 853 if (Object.keys(i.content).some((t) => !['files', 'relative', 'extract', 'transform'].includes(t))) 854 return !1; 855 if (Array.isArray(i.content.files)) { 856 if ( 857 !i.content.files.every((t) => 858 typeof t == 'string' 859 ? !0 860 : !(typeof t?.raw != 'string' || (t?.extension && typeof t?.extension != 'string')), 861 ) 862 ) 863 return !1; 864 if (typeof i.content.extract == 'object') { 865 for (let t of Object.values(i.content.extract)) if (typeof t != 'function') return !1; 866 } else if (!(i.content.extract === void 0 || typeof i.content.extract == 'function')) return !1; 867 if (typeof i.content.transform == 'object') { 868 for (let t of Object.values(i.content.transform)) if (typeof t != 'function') return !1; 869 } else if (!(i.content.transform === void 0 || typeof i.content.transform == 'function')) return !1; 870 if (typeof i.content.relative != 'boolean' && typeof i.content.relative != 'undefined') return !1; 871 } 872 return !0; 873 } 874 return !1; 875 })() || 876 F.warn('purge-deprecation', [ 877 'The `purge`/`content` options have changed in Tailwind CSS v3.0.', 878 'Update your configuration file to eliminate this warning.', 879 'https://tailwindcss.com/docs/upgrade-guide#configure-content-sources', 880 ]), 881 (i.safelist = (() => { 882 let { content: t, purge: r, safelist: n } = i; 883 return Array.isArray(n) 884 ? n 885 : Array.isArray(t?.safelist) 886 ? t.safelist 887 : Array.isArray(r?.safelist) 888 ? r.safelist 889 : Array.isArray(r?.options?.safelist) 890 ? r.options.safelist 891 : []; 892 })()), 893 (i.blocklist = (() => {
894 let { blocklist: t } = i; 895 if (Array.isArray(t)) { 896 if (t.every((r) => typeof r == 'string')) return t; 897 F.warn('blocklist-invalid', [ 898 'The `blocklist` option must be an array of strings.', 899 'https://tailwindcss.com/docs/content-configuration#discarding-classes', 900 ]); 901 } 902 return []; 903 })()), 904 typeof i.prefix == 'function' 905 ? (F.warn('prefix-function', [ 906 'As of Tailwind CSS v3.0, `prefix` cannot be a function.', 907 'Update `prefix` in your configuration to be a string to eliminate this warning.', 908 'https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function', 909 ]), 910 (i.prefix = '')) 911 : (i.prefix = i.prefix ?? ''), 912 (i.content = { 913 relative: (() => { 914 let { content: t } = i; 915 return t?.relative ? t.relative : Z(i, 'relativeContentPathsByDefault'); 916 })(), 917 files: (() => { 918 let { content: t, purge: r } = i; 919 return Array.isArray(r) 920 ? r 921 : Array.isArray(r?.content) 922 ? r.content 923 : Array.isArray(t) 924 ? t 925 : Array.isArray(t?.content) 926 ? t.content 927 : Array.isArray(t?.files) 928 ? t.files 929 : []; 930 })(), 931 extract: (() => { 932 let t = (() => 933 i.purge?.extract 934 ? i.purge.extract 935 : i.content?.extract 936 ? i.content.extract 937 : i.purge?.extract?.DEFAULT 938 ? i.purge.extract.DEFAULT 939 : i.content?.extract?.DEFAULT 940 ? i.content.extract.DEFAULT 941 : i.purge?.options?.extractors 942 ? i.purge.options.extractors 943 : i.content?.options?.extractors 944 ? i.content.options.extractors 945 : {})(), 946 r = {}, 947 n = (() => { 948 if (i.purge?.options?.defaultExtractor) return i.purge.options.defaultExtractor; 949 if (i.content?.options?.defaultExtractor) return i.content.options.defaultExtractor; 950 })(); 951 if ((n !== void 0 && (r.DEFAULT = n), typeof t == 'function')) r.DEFAULT = t; 952 else if (Array.isArray(t)) 953 for (let { extensions: a, extractor: s } of t ?? []) for (let o of a) r[o] = s; 954 else typeof t == 'object' && t !== null && Object.assign(r, t); 955 return r; 956 })(), 957 transform: (() => { 958 let t = (() => 959 i.purge?.transform 960 ? i.purge.transform 961 : i.content?.transform 962 ? i.content.transform 963 : i.purge?.transform?.DEFAULT 964 ? i.purge.transform.DEFAULT 965 : i.content?.transform?.DEFAULT 966 ? i.content.transform.DEFAULT 967 : {})(), 968 r = {}; 969 return ( 970 typeof t == 'function' && (r.DEFAULT = t), 971 typeof t == 'object' && t !== null && Object.assign(r, t), 972 r 973 ); 974 })(), 975 }); 976 for (let t of i.content.files) 977 if (typeof t == 'string' && /{([^,]*?)}/g.test(t)) { 978 F.warn('invalid-glob-braces', [ 979 `The glob pattern ${Xn(t)} in your Tailwind CSS configuration is invalid.`, 980 `Update it to ${Xn(t.replace(/{([^,]*?)}/g, '$1'))} to silence this warning.`, 981 ]); 982 break; 983 } 984 return i; 985 } 986 var Eu = C(() => { 987 l(); 988 ze(); 989 Oe(); 990 }); 991 function ne(i) { 992 if (Object.prototype.toString.call(i) !== '[object Object]') return !1; 993 let e = Object.getPrototypeOf(i); 994 return e === null || Object.getPrototypeOf(e) === null; 995 } 996 var kt = C(() => { 997 l(); 998 }); 999 function Ze(i) { 1000 return Array.isArray(i) 1001 ? i.map((e) => Ze(e)) 1002 : typeof i == 'object' && i !== null 1003 ? Object.fromEntries(Object.entries(i).map(([e, t]) => [e, Ze(t)])) 1004 : i; 1005 } 1006 var hi = C(() => { 1007 l(); 1008 }); 1009 function mt(i) { 1010 return i.replace(/\\,/g, '\\2c '); 1011 } 1012 var mi = C(() => { 1013 l(); 1014 }); 1015 var ts, 1016 Tu = C(() => { 1017 l(); 1018 ts = { 1019 aliceblue: [240, 248, 255], 1020 antiquewhite: [250, 235, 215], 1021 aqua: [0, 255, 255], 1022 aquamarine: [127, 255, 212], 1023 azure: [240, 255, 255], 1024 beige: [245, 245, 220], 1025 bisque: [255, 228, 196], 1026 black: [0, 0, 0], 1027 blanchedalmond: [255, 235, 205], 1028 blue: [0, 0, 255], 1029 blueviolet: [138, 43, 226], 1030 brown: [165, 42, 42], 1031 burlywood: [222, 184, 135], 1032 cadetblue: [95, 158, 160], 1033 chartreuse: [127, 255, 0], 1034 chocolate: [210, 105, 30], 1035 coral: [255, 127, 80], 1036 cornflowerblue: [100, 149, 237], 1037 cornsilk: [255, 248, 220], 1038 crimson: [220, 20, 60], 1039 cyan: [0, 255, 255], 1040 darkblue: [0, 0, 139], 1041 darkcyan: [0, 139, 139], 1042 darkgoldenrod: [184, 134, 11], 1043 darkgray: [169, 169, 169], 1044 darkgreen: [0, 100, 0], 1045 darkgrey: [169, 169, 169], 1046 darkkhaki: [189, 183, 107], 1047 darkmagenta: [139, 0, 139], 1048 darkolivegreen: [85, 107, 47], 1049 darkorange: [255, 140, 0], 1050 darkorchid: [153, 50, 204], 1051 darkred: [139, 0, 0], 1052 darksalmon: [233, 150, 122], 1053 darkseagreen: [143, 188, 143], 1054 darkslateblue: [72, 61, 139], 1055 darkslategray: [47, 79, 79], 1056 darkslategrey: [47, 79, 79], 1057 darkturquoise: [0, 206, 209], 1058 darkviolet: [148, 0, 211], 1059 deeppink: [255, 20, 147], 1060 deepskyblue: [0, 191, 255], 1061 dimgray: [105, 105, 105], 1062 dimgrey: [105, 105, 105], 1063 dodgerblue: [30, 144, 255], 1064 firebrick: [178, 34, 34], 1065 floralwhite: [255, 250, 240], 1066 forestgreen: [34, 139, 34], 1067 fuchsia: [255, 0, 255], 1068 gainsboro: [220, 220, 220], 1069 ghostwhite: [248, 248, 255], 1070 gold: [255, 215, 0], 1071 goldenrod: [218, 165, 32], 1072 gray: [128, 128, 128], 1073 green: [0, 128, 0], 1074 greenyellow: [173, 255, 47], 1075 grey: [128, 128, 128], 1076 honeydew: [240, 255, 240], 1077 hotpink: [255, 105, 180], 1078 indianred: [205, 92, 92], 1079 indigo: [75, 0, 130], 1080 ivory: [255, 255, 240], 1081 khaki: [240, 230, 140], 1082 lavender: [230, 230, 250], 1083 lavenderblush: [255, 240, 245], 1084 lawngreen: [124, 252, 0], 1085 lemonchiffon: [255, 250, 205], 1086 lightblue: [173, 216, 230], 1087 lightcoral: [240, 128, 128], 1088 lightcyan: [224, 255, 255], 1089 lightgoldenrodyellow: [250, 250, 210], 1090 lightgray: [211, 211, 211], 1091 lightgreen: [144, 238, 144], 1092 lightgrey: [211, 211, 211], 1093 lightpink: [255, 182, 193], 1094 lightsalmon: [255, 160, 122], 1095 lightseagreen: [32, 178, 170], 1096 lightskyblue: [135, 206, 250], 1097 lightslategray: [119, 136, 153], 1098 lightslategrey: [119, 136, 153], 1099 lightsteelblue: [176, 196, 222], 1100 lightyellow: [255, 255, 224], 1101 lime: [0, 255, 0], 1102 limegreen: [50, 205, 50], 1103 linen: [250, 240, 230], 1104 magenta: [255, 0, 255], 1105 maroon: [128, 0, 0], 1106 mediumaquamarine: [102, 205, 170], 1107 mediumblue: [0, 0, 205], 1108 mediumorchid: [186, 85, 211], 1109 mediumpurple: [147, 112, 219], 1110 mediumseagreen: [60, 179, 113], 1111 mediumslateblue: [123, 104, 238], 1112 mediumspringgreen: [0, 250, 154], 1113 mediumturquoise: [72, 209, 204], 1114 mediumvioletred: [199, 21, 133], 1115 midnightblue: [25, 25, 112], 1116 mintcream: [245, 255, 250], 1117 mistyrose: [255, 228, 225], 1118 moccasin: [255, 228, 181], 1119 navajowhite: [255, 222, 173], 1120 navy: [0, 0, 128], 1121 oldlace: [253, 245, 230], 1122 olive: [128, 128, 0], 1123 olivedrab: [107, 142, 35], 1124 orange: [255, 165, 0], 1125 orangered: [255, 69, 0], 1126 orchid: [218, 112, 214], 1127 palegoldenrod: [238, 232, 170], 1128 palegreen: [152, 251, 152], 1129 paleturquoise: [175, 238, 238], 1130 palevioletred: [219, 112, 147], 1131 papayawhip: [255, 239, 213], 1132 peachpuff: [255, 218, 185], 1133 peru: [205, 133, 63], 1134 pink: [255, 192, 203], 1135 plum: [221, 160, 221], 1136 powderblue: [176, 224, 230], 1137 purple: [128, 0, 128], 1138 rebeccapurple: [102, 51, 153], 1139 red: [255, 0, 0], 1140 rosybrown: [188, 143, 143], 1141 royalblue: [65, 105, 225], 1142 saddlebrown: [139, 69, 19], 1143 salmon: [250, 128, 114], 1144 sandybrown: [244, 164, 96], 1145 seagreen: [46, 139, 87], 1146 seashell: [255, 245, 238], 1147 sienna: [160, 82, 45], 1148 silver: [192, 192, 192], 1149 skyblue: [135, 206, 235], 1150 slateblue: [106, 90, 205], 1151 slategray: [112, 128, 144], 1152 slategrey: [112, 128, 144], 1153 snow: [255, 250, 250], 1154 springgreen: [0, 255, 127], 1155 steelblue: [70, 130, 180], 1156 tan: [210, 180, 140], 1157 teal: [0, 128, 128], 1158 thistle: [216, 191, 216], 1159 tomato: [255, 99, 71], 1160 turquoise: [64, 224, 208], 1161 violet: [238, 130, 238], 1162 wheat: [245, 222, 179], 1163 white: [255, 255, 255], 1164 whitesmoke: [245, 245, 245], 1165 yellow: [255, 255, 0], 1166 yellowgreen: [154, 205, 50], 1167 }; 1168 }); 1169 function ar(i, { loose: e = !1 } = {}) { 1170 if (typeof i != 'string') return null; 1171 if (((i = i.trim()), i === 'transparent')) return { mode: 'rgb', color: ['0', '0', '0'], alpha: '0' }; 1172 if (i in ts) return { mode: 'rgb', color: ts[i].map((a) => a.toString()) }; 1173 let t = i.replace(Tb, (a, s, o, u, c) => ['#', s, s, o, o, u, u, c ? c + c : ''].join('')).match(Eb); 1174 if (t !== null) 1175 return { 1176 mode: 'rgb', 1177 color: [parseInt(t[1], 16), parseInt(t[2], 16), parseInt(t[3], 16)].map((a) => a.toString()),
1178 alpha: t[4] ? (parseInt(t[4], 16) / 255).toString() : void 0, 1179 }; 1180 let r = i.match(Pb) ?? i.match(Db); 1181 if (r === null) return null; 1182 let n = [r[2], r[3], r[4]].filter(Boolean).map((a) => a.toString()); 1183 return n.length === 2 && n[0].startsWith('var(') 1184 ? { mode: r[1], color: [n[0]], alpha: n[1] } 1185 : (!e && n.length !== 3) || (n.length < 3 && !n.some((a) => /^var\(.*?\)$/.test(a))) 1186 ? null 1187 : { mode: r[1], color: n, alpha: r[5]?.toString?.() }; 1188 } 1189 function rs({ mode: i, color: e, alpha: t }) { 1190 let r = t !== void 0; 1191 return i === 'rgba' || i === 'hsla' 1192 ? `${i}(${e.join(', ')}${r ? `, ${t}` : ''})` 1193 : `${i}(${e.join(' ')}${r ? ` / ${t}` : ''})`; 1194 } 1195 var Eb, 1196 Tb, 1197 et, 1198 gi, 1199 Pu, 1200 tt, 1201 Pb, 1202 Db, 1203 is = C(() => { 1204 l(); 1205 Tu(); 1206 (Eb = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i), 1207 (Tb = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i), 1208 (et = /(?:\d+|\d*\.\d+)%?/), 1209 (gi = /(?:\s*,\s*|\s+)/), 1210 (Pu = /\s*[,/]\s*/), 1211 (tt = /var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/), 1212 (Pb = new RegExp( 1213 `^(rgba?)\\(\\s*(${et.source}|${tt.source})(?:${gi.source}(${et.source}|${tt.source}))?(?:${gi.source}(${et.source}|${tt.source}))?(?:${Pu.source}(${et.source}|${tt.source}))?\\s*\\)$`, 1214 )), 1215 (Db = new RegExp( 1216 `^(hsla?)\\(\\s*((?:${et.source})(?:deg|rad|grad|turn)?|${tt.source})(?:${gi.source}(${et.source}|${tt.source}))?(?:${gi.source}(${et.source}|${tt.source}))?(?:${Pu.source}(${et.source}|${tt.source}))?\\s*\\)$`, 1217 )); 1218 }); 1219 function De(i, e, t) { 1220 if (typeof i == 'function') return i({ opacityValue: e }); 1221 let r = ar(i, { loose: !0 }); 1222 return r === null ? t : rs({ ...r, alpha: e }); 1223 } 1224 function ae({ color: i, property: e, variable: t }) { 1225 let r = [].concat(e); 1226 if (typeof i == 'function') 1227 return { 1228 [t]: '1', 1229 ...Object.fromEntries(r.map((a) => [a, i({ opacityVariable: t, opacityValue: `var(${t})` })])), 1230 }; 1231 let n = ar(i); 1232 return n === null 1233 ? Object.fromEntries(r.map((a) => [a, i])) 1234 : n.alpha !== void 0 1235 ? Object.fromEntries(r.map((a) => [a, i])) 1236 : { 1237 [t]: '1', 1238 ...Object.fromEntries(r.map((a) => [a, rs({ ...n, alpha: `var(${t})` })])), 1239 }; 1240 } 1241 var or = C(() => { 1242 l(); 1243 is(); 1244 }); 1245 function oe(i, e) { 1246 let t = [], 1247 r = [], 1248 n = 0, 1249 a = !1; 1250 for (let s = 0; s < i.length; s++) { 1251 let o = i[s]; 1252 t.length === 0 && 1253 o === e[0] && 1254 !a && 1255 (e.length === 1 || i.slice(s, s + e.length) === e) && 1256 (r.push(i.slice(n, s)), (n = s + e.length)), 1257 a ? (a = !1) : o === '\\' && (a = !0), 1258 o === '(' || o === '[' || o === '{' 1259 ? t.push(o) 1260 : ((o === ')' && t[t.length - 1] === '(') || 1261 (o === ']' && t[t.length - 1] === '[') || 1262 (o === '}' && t[t.length - 1] === '{')) && 1263 t.pop();
1264 } 1265 return r.push(i.slice(n)), r; 1266 } 1267 var St = C(() => { 1268 l(); 1269 }); 1270 function yi(i) { 1271 return oe(i, ',').map((t) => { 1272 let r = t.trim(), 1273 n = { raw: r }, 1274 a = r.split(qb), 1275 s = new Set(); 1276 for (let o of a) 1277 (Du.lastIndex = 0), 1278 !s.has('KEYWORD') && Ib.has(o) 1279 ? ((n.keyword = o), s.add('KEYWORD')) 1280 : Du.test(o) 1281 ? s.has('X') 1282 ? s.has('Y') 1283 ? s.has('BLUR') 1284 ? s.has('SPREAD') || ((n.spread = o), s.add('SPREAD')) 1285 : ((n.blur = o), s.add('BLUR')) 1286 : ((n.y = o), s.add('Y')) 1287 : ((n.x = o), s.add('X')) 1288 : n.color 1289 ? (n.unknown || (n.unknown = []), n.unknown.push(o)) 1290 : (n.color = o); 1291 return (n.valid = n.x !== void 0 && n.y !== void 0), n; 1292 }); 1293 } 1294 function Iu(i) { 1295 return i 1296 .map((e) => (e.valid ? [e.keyword, e.x, e.y, e.blur, e.spread, e.color].filter(Boolean).join(' ') : e.raw)) 1297 .join(', '); 1298 } 1299 var Ib, 1300 qb, 1301 Du, 1302 ns = C(() => { 1303 l(); 1304 St(); 1305 (Ib = new Set(['inset', 'inherit', 'initial', 'revert', 'unset'])), 1306 (qb = /\ +(?![^(]*\))/g), 1307 (Du = /^-?(\d+|\.\d+)(.*?)$/g); 1308 }); 1309 function ss(i) { 1310 return Rb.some((e) => new RegExp(`^${e}\\(.*\\)`).test(i)); 1311 } 1312 function N(i, e = null, t = !0) { 1313 let r = e && Mb.has(e.property); 1314 return i.startsWith('--') && !r 1315 ? `var(${i})` 1316 : i.includes('url(') 1317 ? i 1318 .split(/(url\(.*?\))/g) 1319 .filter(Boolean) 1320 .map((n) => (/^url\(.*?\)$/.test(n) ? n : N(n, e, !1))) 1321 .join('') 1322 : ((i = i 1323 .replace(/([^\\])_+/g, (n, a) => a + ' '.repeat(n.length - 1)) 1324 .replace(/^_/g, ' ') 1325 .replace(/\\_/g, '_')), 1326 t && (i = i.trim()), 1327 (i = Bb(i)), 1328 i); 1329 } 1330 function Bb(i) { 1331 let e = ['theme'], 1332 t = [ 1333 'min-content', 1334 'max-content', 1335 'fit-content', 1336 'safe-area-inset-top', 1337 'safe-area-inset-right', 1338 'safe-area-inset-bottom', 1339 'safe-area-inset-left', 1340 'titlebar-area-x', 1341 'titlebar-area-y', 1342 'titlebar-area-width', 1343 'titlebar-area-height', 1344 'keyboard-inset-top', 1345 'keyboard-inset-right', 1346 'keyboard-inset-bottom', 1347 'keyboard-inset-left', 1348 'keyboard-inset-width', 1349 'keyboard-inset-height', 1350 'radial-gradient', 1351 'linear-gradient', 1352 'conic-gradient', 1353 'repeating-radial-gradient', 1354 'repeating-linear-gradient', 1355 'repeating-conic-gradient', 1356 ]; 1357 return i.replace(/(calc|min|max|clamp)\(.+\)/g, (r) => { 1358 let n = ''; 1359 function a() { 1360 let s = n.trimEnd(); 1361 return s[s.length - 1]; 1362 } 1363 for (let s = 0; s < r.length; s++) { 1364 let o = function (f) { 1365 return f.split('').every((d, p) => r[s + p] === d); 1366 }, 1367 u = function (f) { 1368 let d = 1 / 0; 1369 for (let m of f) { 1370 let w = r.indexOf(m, s); 1371 w !== -1 && w < d && (d = w); 1372 } 1373 let p = r.slice(s, d); 1374 return (s += p.length - 1), p; 1375 }, 1376 c = r[s]; 1377 if (o('var')) n += u([')', ',']); 1378 else if (t.some((f) => o(f))) { 1379 let f = t.find((d) => o(d)); 1380 (n += f), (s += f.length - 1); 1381 } else 1382 e.some((f) => o(f)) 1383 ? (n += u([')'])) 1384 : o('[') 1385 ? (n += u([']'])) 1386 : ['+', '-', '*', '/'].includes(c) && !['(', '+', '-', '*', '/', ','].includes(a()) 1387 ? (n += ` ${c} `) 1388 : (n += c); 1389 } 1390 return n.replace(/\s+/g, ' '); 1391 }); 1392 } 1393 function as(i) { 1394 return i.startsWith('url('); 1395 } 1396 function os(i) { 1397 return !isNaN(Number(i)) || ss(i); 1398 } 1399 function lr(i) { 1400 return (i.endsWith('%') && os(i.slice(0, -1))) || ss(i); 1401 } 1402 function ur(i) { 1403 return i === '0' || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${Nb}$`).test(i) || ss(i); 1404 } 1405 function qu(i) { 1406 return Lb.has(i); 1407 } 1408 function Ru(i) { 1409 let e = yi(N(i)); 1410 for (let t of e) if (!t.valid) return !1; 1411 return !0; 1412 } 1413 function Mu(i) { 1414 let e = 0; 1415 return oe(i, '_').every( 1416 (r) => ((r = N(r)), r.startsWith('var(') ? !0 : ar(r, { loose: !0 }) !== null ? (e++, !0) : !1), 1417 ) 1418 ? e > 0 1419 : !1; 1420 } 1421 function Bu(i) { 1422 let e = 0; 1423 return oe(i, ',').every( 1424 (r) => ( 1425 (r = N(r)), 1426 r.startsWith('var(') 1427 ? !0 1428 : as(r) || jb(r) || ['element(', 'image(', 'cross-fade(', 'image-set('].some((n) => r.startsWith(n)) 1429 ? (e++, !0) 1430 : !1 1431 ), 1432 ) 1433 ? e > 0 1434 : !1; 1435 } 1436 function jb(i) { 1437 i = N(i); 1438 for (let e of $b) if (i.startsWith(`${e}(`)) return !0; 1439 return !1; 1440 } 1441 function Fu(i) { 1442 let e = 0; 1443 return oe(i, '_').every( 1444 (r) => ((r = N(r)), r.startsWith('var(') ? !0 : zb.has(r) || ur(r) || lr(r) ? (e++, !0) : !1), 1445 ) 1446 ? e > 0 1447 : !1; 1448 } 1449 function Nu(i) { 1450 let e = 0; 1451 return oe(i, ',').every( 1452 (r) => ( 1453 (r = N(r)), 1454 r.startsWith('var(') 1455 ? !0 1456 : (r.includes(' ') && !/(['"])([^"']+)\1/g.test(r)) || /^\d/g.test(r) 1457 ? !1 1458 : (e++, !0) 1459 ), 1460 ) 1461 ? e > 0 1462 : !1; 1463 } 1464 function Lu(i) { 1465 return Vb.has(i); 1466 } 1467 function $u(i) { 1468 return Ub.has(i); 1469 } 1470 function ju(i) { 1471 return Wb.has(i); 1472 } 1473 var Rb, 1474 Mb, 1475 Fb, 1476 Nb, 1477 Lb, 1478 $b, 1479 zb, 1480 Vb, 1481 Ub, 1482 Wb, 1483 fr = C(() => { 1484 l(); 1485 is(); 1486 ns(); 1487 St(); 1488 Rb = ['min', 'max', 'clamp', 'calc']; 1489 Mb = new Set([ 1490 'scroll-timeline-name', 1491 'timeline-scope', 1492 'view-timeline-name', 1493 'font-palette', 1494 'scroll-timeline', 1495 'animation-timeline', 1496 'view-timeline', 1497 ]); 1498 (Fb = [ 1499 'cm', 1500 'mm', 1501 'Q', 1502 'in', 1503 'pc', 1504 'pt', 1505 'px', 1506 'em',
1507 'ex', 1508 'ch', 1509 'rem', 1510 'lh', 1511 'rlh', 1512 'vw', 1513 'vh', 1514 'vmin', 1515 'vmax', 1516 'vb', 1517 'vi', 1518 'svw', 1519 'svh', 1520 'lvw', 1521 'lvh', 1522 'dvw', 1523 'dvh', 1524 'cqw', 1525 'cqh', 1526 'cqi', 1527 'cqb', 1528 'cqmin', 1529 'cqmax', 1530 ]), 1531 (Nb = `(?:${Fb.join('|')})`); 1532 Lb = new Set(['thin', 'medium', 'thick']); 1533 $b = new Set([ 1534 'conic-gradient', 1535 'linear-gradient', 1536 'radial-gradient', 1537 'repeating-conic-gradient', 1538 'repeating-linear-gradient', 1539 'repeating-radial-gradient', 1540 ]); 1541 zb = new Set(['center', 'top', 'right', 'bottom', 'left']); 1542 Vb = new Set([ 1543 'serif', 1544 'sans-serif', 1545 'monospace', 1546 'cursive', 1547 'fantasy', 1548 'system-ui', 1549 'ui-serif', 1550 'ui-sans-serif', 1551 'ui-monospace', 1552 'ui-rounded', 1553 'math', 1554 'emoji', 1555 'fangsong', 1556 ]); 1557 Ub = new Set(['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'x-large', 'xxx-large']); 1558 Wb = new Set(['larger', 'smaller']); 1559 }); 1560 function zu(i) { 1561 let e = ['cover', 'contain']; 1562 return oe(i, ',').every((t) => { 1563 let r = oe(t, '_').filter(Boolean); 1564 return r.length === 1 && e.includes(r[0]) 1565 ? !0 1566 : r.length !== 1 && r.length !== 2 1567 ? !1 1568 : r.every((n) => ur(n) || lr(n) || n === 'auto'); 1569 }); 1570 } 1571 var Vu = C(() => { 1572 l(); 1573 fr(); 1574 St(); 1575 }); 1576 function Uu(i, e) { 1577 i.walkClasses((t) => { 1578 (t.value = e(t.value)), t.raws && t.raws.value && (t.raws.value = mt(t.raws.value)); 1579 }); 1580 } 1581 function Wu(i, e) { 1582 if (!rt(i)) return; 1583 let t = i.slice(1, -1); 1584 if (!!e(t)) return N(t); 1585 } 1586 function Gb(i, e = {}, t) { 1587 let r = e[i]; 1588 if (r !== void 0) return Xe(r); 1589 if (rt(i)) { 1590 let n = Wu(i, t); 1591 return n === void 0 ? void 0 : Xe(n); 1592 } 1593 } 1594 function wi(i, e = {}, { validate: t = () => !0 } = {}) { 1595 let r = e.values?.[i]; 1596 return r !== void 0 1597 ? r 1598 : e.supportsNegativeValues && i.startsWith('-') 1599 ? Gb(i.slice(1), e.values, t) 1600 : Wu(i, t); 1601 } 1602 function rt(i) { 1603 return i.startsWith('[') && i.endsWith(']'); 1604 } 1605 function Gu(i) { 1606 let e = i.lastIndexOf('/'), 1607 t = i.lastIndexOf('[', e), 1608 r = i.indexOf(']', e); 1609 return ( 1610 i[e - 1] === ']' || 1611 i[e + 1] === '[' || 1612 (t !== -1 && r !== -1 && t < e && e < r && (e = i.lastIndexOf('/', t))), 1613 e === -1 || e === i.length - 1 1614 ? [i, void 0] 1615 : rt(i) && !i.includes(']/[') 1616 ? [i, void 0] 1617 : [i.slice(0, e), i.slice(e + 1)] 1618 ); 1619 } 1620 function Ct(i) { 1621 if (typeof i == 'string' && i.includes('<alpha-value>')) { 1622 let e = i; 1623 return ({ opacityValue: t = 1 }) => e.replace('<alpha-value>', t); 1624 } 1625 return i; 1626 } 1627 function Hu(i) { 1628 return N(i.slice(1, -1)); 1629 } 1630 function Hb(i, e = {}, { tailwindConfig: t = {} } = {}) { 1631 if (e.values?.[i] !== void 0) return Ct(e.values?.[i]); 1632 let [r, n] = Gu(i); 1633 if (n !== void 0) { 1634 let a = e.values?.[r] ?? (rt(r) ? r.slice(1, -1) : void 0); 1635 return a === void 0 1636 ? void 0 1637 : ((a = Ct(a)), 1638 rt(n) ? De(a, Hu(n)) : t.theme?.opacity?.[n] === void 0 ? void 0 : De(a, t.theme.opacity[n])); 1639 } 1640 return wi(i, e, { validate: Mu }); 1641 } 1642 function Yb(i, e = {}) { 1643 return e.values?.[i]; 1644 } 1645 function me(i) { 1646 return (e, t) => wi(e, t, { validate: i }); 1647 } 1648 function Qb(i, e) { 1649 let t = i.indexOf(e); 1650 return t === -1 ? [void 0, i] : [i.slice(0, t), i.slice(t + 1)]; 1651 } 1652 function us(i, e, t, r) { 1653 if (t.values && e in t.values) 1654 for (let { type: a } of i ?? []) { 1655 let s = ls[a](e, t, { tailwindConfig: r }); 1656 if (s !== void 0) return [s, a, null]; 1657 } 1658 if (rt(e)) { 1659 let a = e.slice(1, -1), 1660 [s, o] = Qb(a, ':'); 1661 if (!/^[\w-_]+$/g.test(s)) o = a; 1662 else if (s !== void 0 && !Yu.includes(s)) return []; 1663 if (o.length > 0 && Yu.includes(s)) return [wi(`[${o}]`, t), s, null]; 1664 } 1665 let n = fs(i, e, t, r); 1666 for (let a of n) return a; 1667 return []; 1668 } 1669 function* fs(i, e, t, r) { 1670 let n = Z(r, 'generalizedModifiers'), 1671 [a, s] = Gu(e); 1672 if ( 1673 ((n && 1674 t.modifiers != null && 1675 (t.modifiers === 'any' || (typeof t.modifiers == 'object' && ((s && rt(s)) || s in t.modifiers)))) || 1676 ((a = e), (s = void 0)), 1677 s !== void 0 && a === '' && (a = 'DEFAULT'), 1678 s !== void 0 && typeof t.modifiers == 'object') 1679 ) { 1680 let u = t.modifiers?.[s] ?? null; 1681 u !== null ? (s = u) : rt(s) && (s = Hu(s)); 1682 } 1683 for (let { type: u } of i ?? []) { 1684 let c = ls[u](a, t, { tailwindConfig: r }); 1685 c !== void 0 && (yield [c, u, s ?? null]); 1686 } 1687 } 1688 var ls, 1689 Yu, 1690 cr = C(() => { 1691 l(); 1692 mi(); 1693 or(); 1694 fr(); 1695 fi(); 1696 Vu(); 1697 ze(); 1698 (ls = { 1699 any: wi, 1700 color: Hb, 1701 url: me(as), 1702 image: me(Bu), 1703 length: me(ur), 1704 percentage: me(lr), 1705 position: me(Fu), 1706 lookup: Yb, 1707 'generic-name': me(Lu), 1708 'family-name': me(Nu), 1709 number: me(os), 1710 'line-width': me(qu), 1711 'absolute-size': me($u), 1712 'relative-size': me(ju), 1713 shadow: me(Ru), 1714 size: me(zu), 1715 }), 1716 (Yu = Object.keys(ls)); 1717 }); 1718 function L(i) { 1719 return typeof i == 'function' ? i({}) : i; 1720 } 1721 var cs = C(() => { 1722 l(); 1723 }); 1724 function At(i) { 1725 return typeof i == 'function'; 1726 } 1727 function pr(i, ...e) { 1728 let t = e.pop();
1729 for (let r of e) 1730 for (let n in r) { 1731 let a = t(i[n], r[n]); 1732 a === void 0 ? (ne(i[n]) && ne(r[n]) ? (i[n] = pr({}, i[n], r[n], t)) : (i[n] = r[n])) : (i[n] = a); 1733 } 1734 return i; 1735 } 1736 function Jb(i, ...e) { 1737 return At(i) ? i(...e) : i; 1738 } 1739 function Xb(i) { 1740 return i.reduce( 1741 (e, { extend: t }) => pr(e, t, (r, n) => (r === void 0 ? [n] : Array.isArray(r) ? [n, ...r] : [n, r])), 1742 {}, 1743 ); 1744 } 1745 function Kb(i) { 1746 return { ...i.reduce((e, t) => es(e, t), {}), extend: Xb(i) }; 1747 } 1748 function Qu(i, e) { 1749 if (Array.isArray(i) && ne(i[0])) return i.concat(e); 1750 if (Array.isArray(e) && ne(e[0]) && ne(i)) return [i, ...e]; 1751 if (Array.isArray(e)) return e; 1752 } 1753 function Zb({ extend: i, ...e }) { 1754 return pr(e, i, (t, r) => 1755 !At(t) && !r.some(At) ? pr({}, t, ...r, Qu) : (n, a) => pr({}, ...[t, ...r].map((s) => Jb(s, n, a)), Qu), 1756 ); 1757 } 1758 function* e0(i) { 1759 let e = Ke(i); 1760 if (e.length === 0 || (yield e, Array.isArray(i))) return; 1761 let t = /^(.*?)\s*\/\s*([^/]+)$/, 1762 r = i.match(t); 1763 if (r !== null) { 1764 let [, n, a] = r, 1765 s = Ke(n); 1766 (s.alpha = a), yield s; 1767 } 1768 } 1769 function t0(i) { 1770 let e = (t, r) => { 1771 for (let n of e0(t)) { 1772 let a = 0, 1773 s = i; 1774 for (; s != null && a < n.length; ) 1775 (s = s[n[a++]]), (s = At(s) && (n.alpha === void 0 || a <= n.length - 1) ? s(e, ps) : s); 1776 if (s !== void 0) { 1777 if (n.alpha !== void 0) { 1778 let o = Ct(s); 1779 return De(o, n.alpha, L(o)); 1780 } 1781 return ne(s) ? Ze(s) : s; 1782 } 1783 } 1784 return r; 1785 }; 1786 return ( 1787 Object.assign(e, { theme: e, ...ps }), 1788 Object.keys(i).reduce((t, r) => ((t[r] = At(i[r]) ? i[r](e, ps) : i[r]), t), {}) 1789 ); 1790 } 1791 function Ju(i) { 1792 let e = []; 1793 return (
1794 i.forEach((t) => { 1795 e = [...e, t]; 1796 let r = t?.plugins ?? []; 1797 r.length !== 0 && 1798 r.forEach((n) => { 1799 n.__isOptionsFunction && (n = n()), (e = [...e, ...Ju([n?.config ?? {}])]); 1800 }); 1801 }), 1802 e 1803 ); 1804 } 1805 function r0(i) { 1806 return [...i].reduceRight((t, r) => (At(r) ? r({ corePlugins: t }) : wu(r, t)), gu); 1807 } 1808 function i0(i) { 1809 return [...i].reduceRight((t, r) => [...t, ...r], []); 1810 } 1811 function ds(i) { 1812 let e = [...Ju(i), { prefix: '', important: !1, separator: ':' }]; 1813 return Ou( 1814 es( 1815 { 1816 theme: t0(Zb(Kb(e.map((t) => t?.theme ?? {})))), 1817 corePlugins: r0(e.map((t) => t.corePlugins)), 1818 plugins: i0(i.map((t) => t?.plugins ?? [])), 1819 }, 1820 ...e, 1821 ), 1822 ); 1823 } 1824 var ps, 1825 Xu = C(() => { 1826 l(); 1827 fi(); 1828 yu(); 1829 bu(); 1830 Zn(); 1831 Su(); 1832 pi(); 1833 Eu(); 1834 kt(); 1835 hi(); 1836 cr(); 1837 or(); 1838 cs(); 1839 ps = { 1840 colors: Kn, 1841 negative(i) { 1842 return Object.keys(i) 1843 .filter((e) => i[e] !== '0') 1844 .reduce((e, t) => { 1845 let r = Xe(i[t]); 1846 return r !== void 0 && (e[`-${t}`] = r), e; 1847 }, {}); 1848 }, 1849 breakpoints(i) { 1850 return Object.keys(i) 1851 .filter((e) => typeof i[e] == 'string') 1852 .reduce((e, t) => ({ ...e, [`screen-${t}`]: i[t] }), {}); 1853 }, 1854 }; 1855 }); 1856 var bi = v((eT, Ku) => { 1857 l(); 1858 Ku.exports = { 1859 content: [], 1860 presets: [], 1861 darkMode: 'media', 1862 theme: { 1863 accentColor: ({ theme: i }) => ({ ...i('colors'), auto: 'auto' }), 1864 animation: { 1865 none: 'none', 1866 spin: 'spin 1s linear infinite', 1867 ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite', 1868 pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite', 1869 bounce: 'bounce 1s infinite', 1870 }, 1871 aria: { 1872 busy: 'busy="true"', 1873 checked: 'checked="true"', 1874 disabled: 'disabled="true"', 1875 expanded: 'expanded="true"', 1876 hidden: 'hidden="true"', 1877 pressed: 'pressed="true"', 1878 readonly: 'readonly="true"', 1879 required: 'required="true"', 1880 selected: 'selected="true"', 1881 }, 1882 aspectRatio: { auto: 'auto', square: '1 / 1', video: '16 / 9' }, 1883 backdropBlur: ({ theme: i }) => i('blur'), 1884 backdropBrightness: ({ theme: i }) => i('brightness'), 1885 backdropContrast: ({ theme: i }) => i('contrast'), 1886 backdropGrayscale: ({ theme: i }) => i('grayscale'), 1887 backdropHueRotate: ({ theme: i }) => i('hueRotate'), 1888 backdropInvert: ({ theme: i }) => i('invert'), 1889 backdropOpacity: ({ theme: i }) => i('opacity'), 1890 backdropSaturate: ({ theme: i }) => i('saturate'), 1891 backdropSepia: ({ theme: i }) => i('sepia'), 1892 backgroundColor: ({ theme: i }) => i('colors'), 1893 backgroundImage: { 1894 none: 'none', 1895 'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))', 1896 'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))', 1897 'gradient-to-r': 'linear-gradient(to right, var(--tw-gradient-stops))', 1898 'gradient-to-br': 'linear-gradient(to bottom right, var(--tw-gradient-stops))', 1899 'gradient-to-b': 'linear-gradient(to bottom, var(--tw-gradient-stops))', 1900 'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))', 1901 'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))', 1902 'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))', 1903 }, 1904 backgroundOpacity: ({ theme: i }) => i('opacity'), 1905 backgroundPosition: { 1906 bottom: 'bottom', 1907 center: 'center', 1908 left: 'left', 1909 'left-bottom': 'left bottom', 1910 'left-top': 'left top', 1911 right: 'right', 1912 'right-bottom': 'right bottom', 1913 'right-top': 'right top', 1914 top: 'top', 1915 }, 1916 backgroundSize: { auto: 'auto', cover: 'cover', contain: 'contain' }, 1917 blur: { 1918 0: '0', 1919 none: '0', 1920 sm: '4px', 1921 DEFAULT: '8px', 1922 md: '12px', 1923 lg: '16px', 1924 xl: '24px', 1925 '2xl': '40px', 1926 '3xl': '64px', 1927 }, 1928 borderColor: ({ theme: i }) => ({ 1929 ...i('colors'), 1930 DEFAULT: i('colors.gray.200', 'currentColor'), 1931 }), 1932 borderOpacity: ({ theme: i }) => i('opacity'), 1933 borderRadius: { 1934 none: '0px', 1935 sm: '0.125rem', 1936 DEFAULT: '0.25rem', 1937 md: '0.375rem', 1938 lg: '0.5rem', 1939 xl: '0.75rem', 1940 '2xl': '1rem', 1941 '3xl': '1.5rem', 1942 full: '9999px', 1943 }, 1944 borderSpacing: ({ theme: i }) => ({ ...i('spacing') }), 1945 borderWidth: { DEFAULT: '1px', 0: '0px', 2: '2px', 4: '4px', 8: '8px' }, 1946 boxShadow: { 1947 sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)', 1948 DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)', 1949 md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)', 1950 lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)', 1951 xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)', 1952 '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)', 1953 inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)', 1954 none: 'none', 1955 }, 1956 boxShadowColor: ({ theme: i }) => i('colors'), 1957 brightness: { 1958 0: '0', 1959 50: '.5', 1960 75: '.75', 1961 90: '.9', 1962 95: '.95', 1963 100: '1', 1964 105: '1.05', 1965 110: '1.1', 1966 125: '1.25', 1967 150: '1.5', 1968 200: '2', 1969 }, 1970 caretColor: ({ theme: i }) => i('colors'), 1971 colors: ({ colors: i }) => ({ 1972 inherit: i.inherit, 1973 current: i.current, 1974 transparent: i.transparent, 1975 black: i.black, 1976 white: i.white, 1977 slate: i.slate, 1978 gray: i.gray, 1979 zinc: i.zinc, 1980 neutral: i.neutral, 1981 stone: i.stone, 1982 red: i.red, 1983 orange: i.orange, 1984 amber: i.amber, 1985 yellow: i.yellow, 1986 lime: i.lime, 1987 green: i.green, 1988 emerald: i.emerald, 1989 teal: i.teal, 1990 cyan: i.cyan, 1991 sky: i.sky, 1992 blue: i.blue, 1993 indigo: i.indigo, 1994 violet: i.violet, 1995 purple: i.purple, 1996 fuchsia: i.fuchsia, 1997 pink: i.pink, 1998 rose: i.rose, 1999 }), 2000 columns: { 2001 auto: 'auto', 2002 1: '1', 2003 2: '2', 2004 3: '3', 2005 4: '4', 2006 5: '5', 2007 6: '6', 2008 7: '7', 2009 8: '8', 2010 9: '9', 2011 10: '10', 2012 11: '11', 2013 12: '12', 2014 '3xs': '16rem', 2015 '2xs': '18rem', 2016 xs: '20rem', 2017 sm: '24rem', 2018 md: '28rem', 2019 lg: '32rem', 2020 xl: '36rem', 2021 '2xl': '42rem',
2022 '3xl': '48rem', 2023 '4xl': '56rem', 2024 '5xl': '64rem', 2025 '6xl': '72rem', 2026 '7xl': '80rem', 2027 }, 2028 container: {}, 2029 content: { none: 'none' }, 2030 contrast: { 2031 0: '0', 2032 50: '.5', 2033 75: '.75', 2034 100: '1', 2035 125: '1.25', 2036 150: '1.5', 2037 200: '2', 2038 }, 2039 cursor: { 2040 auto: 'auto', 2041 default: 'default', 2042 pointer: 'pointer', 2043 wait: 'wait', 2044 text: 'text', 2045 move: 'move', 2046 help: 'help', 2047 'not-allowed': 'not-allowed', 2048 none: 'none', 2049 'context-menu': 'context-menu', 2050 progress: 'progress', 2051 cell: 'cell', 2052 crosshair: 'crosshair', 2053 'vertical-text': 'vertical-text', 2054 alias: 'alias', 2055 copy: 'copy', 2056 'no-drop': 'no-drop', 2057 grab: 'grab', 2058 grabbing: 'grabbing', 2059 'all-scroll': 'all-scroll', 2060 'col-resize': 'col-resize', 2061 'row-resize': 'row-resize', 2062 'n-resize': 'n-resize', 2063 'e-resize': 'e-resize', 2064 's-resize': 's-resize', 2065 'w-resize': 'w-resize', 2066 'ne-resize': 'ne-resize', 2067 'nw-resize': 'nw-resize', 2068 'se-resize': 'se-resize', 2069 'sw-resize': 'sw-resize', 2070 'ew-resize': 'ew-resize', 2071 'ns-resize': 'ns-resize', 2072 'nesw-resize': 'nesw-resize', 2073 'nwse-resize': 'nwse-resize', 2074 'zoom-in': 'zoom-in', 2075 'zoom-out': 'zoom-out', 2076 }, 2077 divideColor: ({ theme: i }) => i('borderColor'), 2078 divideOpacity: ({ theme: i }) => i('borderOpacity'), 2079 divideWidth: ({ theme: i }) => i('borderWidth'), 2080 dropShadow: { 2081 sm: '0 1px 1px rgb(0 0 0 / 0.05)', 2082 DEFAULT: ['0 1px 2px rgb(0 0 0 / 0.1)', '0 1px 1px rgb(0 0 0 / 0.06)'], 2083 md: ['0 4px 3px rgb(0 0 0 / 0.07)', '0 2px 2px rgb(0 0 0 / 0.06)'], 2084 lg: ['0 10px 8px rgb(0 0 0 / 0.04)', '0 4px 3px rgb(0 0 0 / 0.1)'], 2085 xl: ['0 20px 13px rgb(0 0 0 / 0.03)', '0 8px 5px rgb(0 0 0 / 0.08)'], 2086 '2xl': '0 25px 25px rgb(0 0 0 / 0.15)', 2087 none: '0 0 #0000', 2088 }, 2089 fill: ({ theme: i }) => ({ none: 'none', ...i('colors') }), 2090 flex: { 2091 1: '1 1 0%', 2092 auto: '1 1 auto', 2093 initial: '0 1 auto', 2094 none: 'none', 2095 }, 2096 flexBasis: ({ theme: i }) => ({ 2097 auto: 'auto', 2098 ...i('spacing'), 2099 '1/2': '50%', 2100 '1/3': '33.333333%', 2101 '2/3': '66.666667%', 2102 '1/4': '25%', 2103 '2/4': '50%', 2104 '3/4': '75%', 2105 '1/5': '20%', 2106 '2/5': '40%', 2107 '3/5': '60%', 2108 '4/5': '80%', 2109 '1/6': '16.666667%', 2110 '2/6': '33.333333%', 2111 '3/6': '50%', 2112 '4/6': '66.666667%', 2113 '5/6': '83.333333%', 2114 '1/12': '8.333333%', 2115 '2/12': '16.666667%', 2116 '3/12': '25%', 2117 '4/12': '33.333333%', 2118 '5/12': '41.666667%', 2119 '6/12': '50%', 2120 '7/12': '58.333333%', 2121 '8/12': '66.666667%', 2122 '9/12': '75%', 2123 '10/12': '83.333333%', 2124 '11/12': '91.666667%', 2125 full: '100%', 2126 }), 2127 flexGrow: { 0: '0', DEFAULT: '1' }, 2128 flexShrink: { 0: '0', DEFAULT: '1' }, 2129 fontFamily: { 2130 sans: [ 2131 'ui-sans-serif', 2132 'system-ui', 2133 'sans-serif', 2134 '"Apple Color Emoji"', 2135 '"Segoe UI Emoji"', 2136 '"Segoe UI Symbol"', 2137 '"Noto Color Emoji"', 2138 ], 2139 serif: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'], 2140 mono: [ 2141 'ui-monospace', 2142 'SFMono-Regular', 2143 'Menlo', 2144 'Monaco', 2145 'Consolas', 2146 '"Liberation Mono"', 2147 '"Courier New"', 2148 'monospace', 2149 ], 2150 }, 2151 fontSize: { 2152 xs: ['0.75rem', { lineHeight: '1rem' }], 2153 sm: ['0.875rem', { lineHeight: '1.25rem' }], 2154 base: ['1rem', { lineHeight: '1.5rem' }], 2155 lg: ['1.125rem', { lineHeight: '1.75rem' }], 2156 xl: ['1.25rem', { lineHeight: '1.75rem' }], 2157 '2xl': ['1.5rem', { lineHeight: '2rem' }], 2158 '3xl': ['1.875rem', { lineHeight: '2.25rem' }], 2159 '4xl': ['2.25rem', { lineHeight: '2.5rem' }], 2160 '5xl': ['3rem', { lineHeight: '1' }], 2161 '6xl': ['3.75rem', { lineHeight: '1' }], 2162 '7xl': ['4.5rem', { lineHeight: '1' }], 2163 '8xl': ['6rem', { lineHeight: '1' }], 2164 '9xl': ['8rem', { lineHeight: '1' }], 2165 }, 2166 fontWeight: { 2167 thin: '100', 2168 extralight: '200', 2169 light: '300', 2170 normal: '400', 2171 medium: '500', 2172 semibold: '600', 2173 bold: '700', 2174 extrabold: '800', 2175 black: '900', 2176 }, 2177 gap: ({ theme: i }) => i('spacing'), 2178 gradientColorStops: ({ theme: i }) => i('colors'), 2179 gradientColorStopPositions: { 2180 '0%': '0%', 2181 '5%': '5%', 2182 '10%': '10%', 2183 '15%': '15%', 2184 '20%': '20%', 2185 '25%': '25%', 2186 '30%': '30%', 2187 '35%': '35%', 2188 '40%': '40%', 2189 '45%': '45%', 2190 '50%': '50%', 2191 '55%': '55%', 2192 '60%': '60%', 2193 '65%': '65%', 2194 '70%': '70%', 2195 '75%': '75%', 2196 '80%': '80%', 2197 '85%': '85%', 2198 '90%': '90%', 2199 '95%': '95%', 2200 '100%': '100%', 2201 }, 2202 grayscale: { 0: '0', DEFAULT: '100%' }, 2203 gridAutoColumns: { 2204 auto: 'auto', 2205 min: 'min-content', 2206 max: 'max-content', 2207 fr: 'minmax(0, 1fr)', 2208 }, 2209 gridAutoRows: { 2210 auto: 'auto', 2211 min: 'min-content', 2212 max: 'max-content', 2213 fr: 'minmax(0, 1fr)', 2214 }, 2215 gridColumn: { 2216 auto: 'auto', 2217 'span-1': 'span 1 / span 1', 2218 'span-2': 'span 2 / span 2', 2219 'span-3': 'span 3 / span 3',
2220 'span-4': 'span 4 / span 4', 2221 'span-5': 'span 5 / span 5', 2222 'span-6': 'span 6 / span 6', 2223 'span-7': 'span 7 / span 7', 2224 'span-8': 'span 8 / span 8', 2225 'span-9': 'span 9 / span 9', 2226 'span-10': 'span 10 / span 10', 2227 'span-11': 'span 11 / span 11', 2228 'span-12': 'span 12 / span 12', 2229 'span-full': '1 / -1', 2230 }, 2231 gridColumnEnd: { 2232 auto: 'auto', 2233 1: '1', 2234 2: '2', 2235 3: '3', 2236 4: '4', 2237 5: '5', 2238 6: '6', 2239 7: '7', 2240 8: '8', 2241 9: '9', 2242 10: '10', 2243 11: '11', 2244 12: '12', 2245 13: '13', 2246 }, 2247 gridColumnStart: { 2248 auto: 'auto', 2249 1: '1', 2250 2: '2', 2251 3: '3', 2252 4: '4', 2253 5: '5', 2254 6: '6', 2255 7: '7', 2256 8: '8', 2257 9: '9', 2258 10: '10', 2259 11: '11', 2260 12: '12', 2261 13: '13', 2262 }, 2263 gridRow: { 2264 auto: 'auto', 2265 'span-1': 'span 1 / span 1', 2266 'span-2': 'span 2 / span 2', 2267 'span-3': 'span 3 / span 3', 2268 'span-4': 'span 4 / span 4', 2269 'span-5': 'span 5 / span 5', 2270 'span-6': 'span 6 / span 6', 2271 'span-7': 'span 7 / span 7', 2272 'span-8': 'span 8 / span 8', 2273 'span-9': 'span 9 / span 9', 2274 'span-10': 'span 10 / span 10', 2275 'span-11': 'span 11 / span 11', 2276 'span-12': 'span 12 / span 12', 2277 'span-full': '1 / -1', 2278 }, 2279 gridRowEnd: { 2280 auto: 'auto', 2281 1: '1', 2282 2: '2', 2283 3: '3', 2284 4: '4', 2285 5: '5', 2286 6: '6', 2287 7: '7', 2288 8: '8', 2289 9: '9', 2290 10: '10', 2291 11: '11', 2292 12: '12', 2293 13: '13', 2294 }, 2295 gridRowStart: { 2296 auto: 'auto', 2297 1: '1', 2298 2: '2', 2299 3: '3', 2300 4: '4', 2301 5: '5', 2302 6: '6', 2303 7: '7', 2304 8: '8', 2305 9: '9', 2306 10: '10', 2307 11: '11', 2308 12: '12', 2309 13: '13', 2310 }, 2311 gridTemplateColumns: { 2312 none: 'none', 2313 subgrid: 'subgrid', 2314 1: 'repeat(1, minmax(0, 1fr))', 2315 2: 'repeat(2, minmax(0, 1fr))', 2316 3: 'repeat(3, minmax(0, 1fr))', 2317 4: 'repeat(4, minmax(0, 1fr))', 2318 5: 'repeat(5, minmax(0, 1fr))', 2319 6: 'repeat(6, minmax(0, 1fr))', 2320 7: 'repeat(7, minmax(0, 1fr))', 2321 8: 'repeat(8, minmax(0, 1fr))', 2322 9: 'repeat(9, minmax(0, 1fr))', 2323 10: 'repeat(10, minmax(0, 1fr))', 2324 11: 'repeat(11, minmax(0, 1fr))', 2325 12: 'repeat(12, minmax(0, 1fr))', 2326 }, 2327 gridTemplateRows: { 2328 none: 'none', 2329 subgrid: 'subgrid', 2330 1: 'repeat(1, minmax(0, 1fr))', 2331 2: 'repeat(2, minmax(0, 1fr))', 2332 3: 'repeat(3, minmax(0, 1fr))', 2333 4: 'repeat(4, minmax(0, 1fr))', 2334 5: 'repeat(5, minmax(0, 1fr))', 2335 6: 'repeat(6, minmax(0, 1fr))', 2336 7: 'repeat(7, minmax(0, 1fr))', 2337 8: 'repeat(8, minmax(0, 1fr))', 2338 9: 'repeat(9, minmax(0, 1fr))', 2339 10: 'repeat(10, minmax(0, 1fr))', 2340 11: 'repeat(11, minmax(0, 1fr))', 2341 12: 'repeat(12, minmax(0, 1fr))', 2342 }, 2343 height: ({ theme: i }) => ({ 2344 auto: 'auto', 2345 ...i('spacing'), 2346 '1/2': '50%', 2347 '1/3': '33.333333%', 2348 '2/3': '66.666667%', 2349 '1/4': '25%', 2350 '2/4': '50%', 2351 '3/4': '75%', 2352 '1/5': '20%', 2353 '2/5': '40%', 2354 '3/5': '60%', 2355 '4/5': '80%', 2356 '1/6': '16.666667%', 2357 '2/6': '33.333333%', 2358 '3/6': '50%', 2359 '4/6': '66.666667%', 2360 '5/6': '83.333333%', 2361 full: '100%', 2362 screen: '100vh', 2363 svh: '100svh', 2364 lvh: '100lvh', 2365 dvh: '100dvh', 2366 min: 'min-content', 2367 max: 'max-content', 2368 fit: 'fit-content', 2369 }), 2370 hueRotate: { 2371 0: '0deg', 2372 15: '15deg', 2373 30: '30deg', 2374 60: '60deg', 2375 90: '90deg', 2376 180: '180deg', 2377 }, 2378 inset: ({ theme: i }) => ({ 2379 auto: 'auto', 2380 ...i('spacing'), 2381 '1/2': '50%', 2382 '1/3': '33.333333%', 2383 '2/3': '66.666667%', 2384 '1/4': '25%', 2385 '2/4': '50%', 2386 '3/4': '75%', 2387 full: '100%', 2388 }), 2389 invert: { 0: '0', DEFAULT: '100%' }, 2390 keyframes: { 2391 spin: { to: { transform: 'rotate(360deg)' } }, 2392 ping: { '75%, 100%': { transform: 'scale(2)', opacity: '0' } }, 2393 pulse: { '50%': { opacity: '.5' } }, 2394 bounce: { 2395 '0%, 100%': { 2396 transform: 'translateY(-25%)', 2397 animationTimingFunction: 'cubic-bezier(0.8,0,1,1)', 2398 }, 2399 '50%': { 2400 transform: 'none', 2401 animationTimingFunction: 'cubic-bezier(0,0,0.2,1)', 2402 }, 2403 }, 2404 }, 2405 letterSpacing: { 2406 tighter: '-0.05em', 2407 tight: '-0.025em', 2408 normal: '0em', 2409 wide: '0.025em', 2410 wider: '0.05em', 2411 widest: '0.1em', 2412 }, 2413 lineHeight: { 2414 none: '1', 2415 tight: '1.25', 2416 snug: '1.375', 2417 normal: '1.5', 2418 relaxed: '1.625', 2419 loose: '2',
2420 3: '.75rem', 2421 4: '1rem', 2422 5: '1.25rem', 2423 6: '1.5rem', 2424 7: '1.75rem', 2425 8: '2rem', 2426 9: '2.25rem', 2427 10: '2.5rem', 2428 }, 2429 listStyleType: { none: 'none', disc: 'disc', decimal: 'decimal' }, 2430 listStyleImage: { none: 'none' }, 2431 margin: ({ theme: i }) => ({ auto: 'auto', ...i('spacing') }), 2432 lineClamp: { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6' }, 2433 maxHeight: ({ theme: i }) => ({ 2434 ...i('spacing'), 2435 none: 'none', 2436 full: '100%', 2437 screen: '100vh', 2438 svh: '100svh', 2439 lvh: '100lvh', 2440 dvh: '100dvh', 2441 min: 'min-content', 2442 max: 'max-content', 2443 fit: 'fit-content', 2444 }), 2445 maxWidth: ({ theme: i, breakpoints: e }) => ({ 2446 ...i('spacing'), 2447 none: 'none', 2448 xs: '20rem', 2449 sm: '24rem', 2450 md: '28rem', 2451 lg: '32rem', 2452 xl: '36rem', 2453 '2xl': '42rem', 2454 '3xl': '48rem', 2455 '4xl': '56rem', 2456 '5xl': '64rem', 2457 '6xl': '72rem', 2458 '7xl': '80rem', 2459 full: '100%', 2460 min: 'min-content', 2461 max: 'max-content', 2462 fit: 'fit-content', 2463 prose: '65ch', 2464 ...e(i('screens')), 2465 }), 2466 minHeight: ({ theme: i }) => ({ 2467 ...i('spacing'), 2468 full: '100%', 2469 screen: '100vh', 2470 svh: '100svh', 2471 lvh: '100lvh', 2472 dvh: '100dvh', 2473 min: 'min-content', 2474 max: 'max-content', 2475 fit: 'fit-content', 2476 }), 2477 minWidth: ({ theme: i }) => ({ 2478 ...i('spacing'), 2479 full: '100%', 2480 min: 'min-content', 2481 max: 'max-content', 2482 fit: 'fit-content', 2483 }), 2484 objectPosition: { 2485 bottom: 'bottom', 2486 center: 'center', 2487 left: 'left', 2488 'left-bottom': 'left bottom', 2489 'left-top': 'left top', 2490 right: 'right', 2491 'right-bottom': 'right bottom', 2492 'right-top': 'right top', 2493 top: 'top', 2494 }, 2495 opacity: { 2496 0: '0', 2497 5: '0.05', 2498 10: '0.1', 2499 15: '0.15', 2500 20: '0.2', 2501 25: '0.25', 2502 30: '0.3',
2503 35: '0.35', 2504 40: '0.4', 2505 45: '0.45', 2506 50: '0.5', 2507 55: '0.55', 2508 60: '0.6', 2509 65: '0.65', 2510 70: '0.7', 2511 75: '0.75', 2512 80: '0.8', 2513 85: '0.85', 2514 90: '0.9', 2515 95: '0.95', 2516 100: '1', 2517 }, 2518 order: { 2519 first: '-9999', 2520 last: '9999', 2521 none: '0', 2522 1: '1', 2523 2: '2', 2524 3: '3', 2525 4: '4', 2526 5: '5', 2527 6: '6', 2528 7: '7', 2529 8: '8', 2530 9: '9', 2531 10: '10', 2532 11: '11', 2533 12: '12', 2534 }, 2535 outlineColor: ({ theme: i }) => i('colors'), 2536 outlineOffset: { 0: '0px', 1: '1px', 2: '2px', 4: '4px', 8: '8px' }, 2537 outlineWidth: { 0: '0px', 1: '1px', 2: '2px', 4: '4px', 8: '8px' }, 2538 padding: ({ theme: i }) => i('spacing'), 2539 placeholderColor: ({ theme: i }) => i('colors'), 2540 placeholderOpacity: ({ theme: i }) => i('opacity'), 2541 ringColor: ({ theme: i }) => ({ 2542 DEFAULT: i('colors.blue.500', '#3b82f6'), 2543 ...i('colors'), 2544 }), 2545 ringOffsetColor: ({ theme: i }) => i('colors'), 2546 ringOffsetWidth: { 0: '0px', 1: '1px', 2: '2px', 4: '4px', 8: '8px' }, 2547 ringOpacity: ({ theme: i }) => ({ DEFAULT: '0.5', ...i('opacity') }), 2548 ringWidth: { 2549 DEFAULT: '3px', 2550 0: '0px', 2551 1: '1px', 2552 2: '2px', 2553 4: '4px', 2554 8: '8px', 2555 }, 2556 rotate: { 2557 0: '0deg', 2558 1: '1deg', 2559 2: '2deg', 2560 3: '3deg', 2561 6: '6deg', 2562 12: '12deg', 2563 45: '45deg', 2564 90: '90deg', 2565 180: '180deg', 2566 }, 2567 saturate: { 0: '0', 50: '.5', 100: '1', 150: '1.5', 200: '2' }, 2568 scale: { 2569 0: '0', 2570 50: '.5', 2571 75: '.75', 2572 90: '.9', 2573 95: '.95', 2574 100: '1', 2575 105: '1.05', 2576 110: '1.1', 2577 125: '1.25', 2578 150: '1.5', 2579 }, 2580 screens: { 2581 sm: '640px', 2582 md: '768px', 2583 lg: '1024px', 2584 xl: '1280px', 2585 '2xl': '1536px', 2586 }, 2587 scrollMargin: ({ theme: i }) => ({ ...i('spacing') }), 2588 scrollPadding: ({ theme: i }) => i('spacing'), 2589 sepia: { 0: '0', DEFAULT: '100%' }, 2590 skew: { 2591 0: '0deg', 2592 1: '1deg', 2593 2: '2deg', 2594 3: '3deg', 2595 6: '6deg', 2596 12: '12deg', 2597 }, 2598 space: ({ theme: i }) => ({ ...i('spacing') }), 2599 spacing: { 2600 px: '1px', 2601 0: '0px', 2602 0.5: '0.125rem', 2603 1: '0.25rem', 2604 1.5: '0.375rem', 2605 2: '0.5rem', 2606 2.5: '0.625rem', 2607 3: '0.75rem', 2608 3.5: '0.875rem', 2609 4: '1rem', 2610 5: '1.25rem', 2611 6: '1.5rem', 2612 7: '1.75rem', 2613 8: '2rem',
2614 9: '2.25rem', 2615 10: '2.5rem', 2616 11: '2.75rem', 2617 12: '3rem', 2618 14: '3.5rem', 2619 16: '4rem', 2620 20: '5rem', 2621 24: '6rem', 2622 28: '7rem', 2623 32: '8rem', 2624 36: '9rem', 2625 40: '10rem', 2626 44: '11rem', 2627 48: '12rem', 2628 52: '13rem', 2629 56: '14rem', 2630 60: '15rem', 2631 64: '16rem', 2632 72: '18rem', 2633 80: '20rem', 2634 96: '24rem', 2635 }, 2636 stroke: ({ theme: i }) => ({ none: 'none', ...i('colors') }), 2637 strokeWidth: { 0: '0', 1: '1', 2: '2' }, 2638 supports: {}, 2639 data: {}, 2640 textColor: ({ theme: i }) => i('colors'), 2641 textDecorationColor: ({ theme: i }) => i('colors'), 2642 textDecorationThickness: { 2643 auto: 'auto', 2644 'from-font': 'from-font', 2645 0: '0px', 2646 1: '1px', 2647 2: '2px', 2648 4: '4px', 2649 8: '8px', 2650 }, 2651 textIndent: ({ theme: i }) => ({ ...i('spacing') }), 2652 textOpacity: ({ theme: i }) => i('opacity'), 2653 textUnderlineOffset: { 2654 auto: 'auto', 2655 0: '0px', 2656 1: '1px', 2657 2: '2px', 2658 4: '4px', 2659 8: '8px', 2660 }, 2661 transformOrigin: { 2662 center: 'center', 2663 top: 'top', 2664 'top-right': 'top right', 2665 right: 'right', 2666 'bottom-right': 'bottom right', 2667 bottom: 'bottom', 2668 'bottom-left': 'bottom left', 2669 left: 'left', 2670 'top-left': 'top left', 2671 }, 2672 transitionDelay: { 2673 0: '0s', 2674 75: '75ms', 2675 100: '100ms', 2676 150: '150ms', 2677 200: '200ms', 2678 300: '300ms', 2679 500: '500ms', 2680 700: '700ms', 2681 1e3: '1000ms', 2682 }, 2683 transitionDuration: { 2684 DEFAULT: '150ms', 2685 0: '0s', 2686 75: '75ms', 2687 100: '100ms', 2688 150: '150ms', 2689 200: '200ms', 2690 300: '300ms', 2691 500: '500ms', 2692 700: '700ms', 2693 1e3: '1000ms', 2694 }, 2695 transitionProperty: { 2696 none: 'none', 2697 all: 'all', 2698 DEFAULT: 2699 'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter', 2700 colors: 'color, background-color, border-color, text-decoration-color, fill, stroke', 2701 opacity: 'opacity', 2702 shadow: 'box-shadow', 2703 transform: 'transform', 2704 }, 2705 transitionTimingFunction: { 2706 DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)', 2707 linear: 'linear', 2708 in: 'cubic-bezier(0.4, 0, 1, 1)', 2709 out: 'cubic-bezier(0, 0, 0.2, 1)', 2710 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)', 2711 }, 2712 translate: ({ theme: i }) => ({ 2713 ...i('spacing'), 2714 '1/2': '50%', 2715 '1/3': '33.333333%', 2716 '2/3': '66.666667%', 2717 '1/4': '25%', 2718 '2/4': '50%', 2719 '3/4': '75%', 2720 full: '100%', 2721 }), 2722 size: ({ theme: i }) => ({ 2723 auto: 'auto', 2724 ...i('spacing'), 2725 '1/2': '50%', 2726 '1/3': '33.333333%', 2727 '2/3': '66.666667%', 2728 '1/4': '25%', 2729 '2/4': '50%', 2730 '3/4': '75%', 2731 '1/5': '20%', 2732 '2/5': '40%', 2733 '3/5': '60%', 2734 '4/5': '80%', 2735 '1/6': '16.666667%', 2736 '2/6': '33.333333%', 2737 '3/6': '50%', 2738 '4/6': '66.666667%', 2739 '5/6': '83.333333%', 2740 '1/12': '8.333333%', 2741 '2/12': '16.666667%', 2742 '3/12': '25%', 2743 '4/12': '33.333333%', 2744 '5/12': '41.666667%', 2745 '6/12': '50%', 2746 '7/12': '58.333333%', 2747 '8/12': '66.666667%', 2748 '9/12': '75%', 2749 '10/12': '83.333333%', 2750 '11/12': '91.666667%', 2751 full: '100%', 2752 min: 'min-content', 2753 max: 'max-content', 2754 fit: 'fit-content', 2755 }), 2756 width: ({ theme: i }) => ({ 2757 auto: 'auto', 2758 ...i('spacing'), 2759 '1/2': '50%', 2760 '1/3': '33.333333%', 2761 '2/3': '66.666667%', 2762 '1/4': '25%', 2763 '2/4': '50%', 2764 '3/4': '75%', 2765 '1/5': '20%', 2766 '2/5': '40%', 2767 '3/5': '60%', 2768 '4/5': '80%', 2769 '1/6': '16.666667%', 2770 '2/6': '33.333333%', 2771 '3/6': '50%', 2772 '4/6': '66.666667%', 2773 '5/6': '83.333333%', 2774 '1/12': '8.333333%', 2775 '2/12': '16.666667%', 2776 '3/12': '25%', 2777 '4/12': '33.333333%', 2778 '5/12': '41.666667%', 2779 '6/12': '50%', 2780 '7/12': '58.333333%', 2781 '8/12': '66.666667%', 2782 '9/12': '75%', 2783 '10/12': '83.333333%', 2784 '11/12': '91.666667%', 2785 full: '100%', 2786 screen: '100vw', 2787 svw: '100svw', 2788 lvw: '100lvw', 2789 dvw: '100dvw', 2790 min: 'min-content', 2791 max: 'max-content', 2792 fit: 'fit-content', 2793 }), 2794 willChange: { 2795 auto: 'auto', 2796 scroll: 'scroll-position', 2797 contents: 'contents', 2798 transform: 'transform',
2799 }, 2800 zIndex: { 2801 auto: 'auto', 2802 0: '0', 2803 10: '10', 2804 20: '20', 2805 30: '30', 2806 40: '40', 2807 50: '50', 2808 }, 2809 }, 2810 plugins: [], 2811 }; 2812 }); 2813 function vi(i) { 2814 let e = (i?.presets ?? [Zu.default]) 2815 .slice() 2816 .reverse() 2817 .flatMap((n) => vi(n instanceof Function ? n() : n)), 2818 t = { 2819 respectDefaultRingColorOpacity: { 2820 theme: { 2821 ringColor: ({ theme: n }) => ({ 2822 DEFAULT: '#3b82f67f', 2823 ...n('colors'), 2824 }), 2825 }, 2826 }, 2827 disableColorOpacityUtilitiesByDefault: { 2828 corePlugins: { 2829 backgroundOpacity: !1, 2830 borderOpacity: !1, 2831 divideOpacity: !1, 2832 placeholderOpacity: !1, 2833 ringOpacity: !1, 2834 textOpacity: !1, 2835 }, 2836 }, 2837 }, 2838 r = Object.keys(t) 2839 .filter((n) => Z(i, n)) 2840 .map((n) => t[n]); 2841 return [i, ...r, ...e]; 2842 } 2843 var Zu, 2844 ef = C(() => { 2845 l(); 2846 Zu = K(bi()); 2847 ze(); 2848 }); 2849 var tf = {}; 2850 Ae(tf, { default: () => dr }); 2851 function dr(...i) { 2852 let [, ...e] = vi(i[0]); 2853 return ds([...i, ...e]); 2854 } 2855 var hs = C(() => { 2856 l(); 2857 Xu(); 2858 ef(); 2859 }); 2860 var rf = {}; 2861 Ae(rf, { default: () => ee }); 2862 var ee, 2863 gt = C(() => { 2864 l(); 2865 ee = { resolve: (i) => i, extname: (i) => '.' + i.split('.').pop() }; 2866 }); 2867 function xi(i) { 2868 return typeof i == 'object' && i !== null; 2869 } 2870 function s0(i) { 2871 return Object.keys(i).length === 0; 2872 } 2873 function nf(i) { 2874 return typeof i == 'string' || i instanceof String; 2875 } 2876 function ms(i) { 2877 return xi(i) && i.config === void 0 && !s0(i) 2878 ? null 2879 : xi(i) && i.config !== void 0 && nf(i.config) 2880 ? ee.resolve(i.config) 2881 : xi(i) && i.config !== void 0 && xi(i.config) 2882 ? null 2883 : nf(i) 2884 ? ee.resolve(i) 2885 : a0(); 2886 } 2887 function a0() { 2888 for (let i of n0) 2889 try { 2890 let e = ee.resolve(i); 2891 return re.accessSync(e), e; 2892 } catch (e) {} 2893 return null; 2894 } 2895 var n0, 2896 sf = C(() => { 2897 l(); 2898 je(); 2899 gt(); 2900 n0 = ['./tailwind.config.js', './tailwind.config.cjs', './tailwind.config.mjs', './tailwind.config.ts']; 2901 }); 2902 var af = {}; 2903 Ae(af, { default: () => gs }); 2904 var gs, 2905 ys = C(() => { 2906 l(); 2907 gs = { parse: (i) => ({ href: i }) }; 2908 }); 2909 var ws = v(() => { 2910 l(); 2911 }); 2912 var ki = v((fT, uf) => { 2913 l(); 2914 ('use strict'); 2915 var of = (ci(), vu), 2916 lf = ws(), 2917 _t = class extends Error { 2918 constructor(e, t, r, n, a, s) { 2919 super(e); 2920 (this.name = 'CssSyntaxError'), 2921 (this.reason = e), 2922 a && (this.file = a), 2923 n && (this.source = n), 2924 s && (this.plugin = s), 2925 typeof t != 'undefined' && 2926 typeof r != 'undefined' && 2927 (typeof t == 'number' 2928 ? ((this.line = t), (this.column = r)) 2929 : ((this.line = t.line), 2930 (this.column = t.column), 2931 (this.endLine = r.line), 2932 (this.endColumn = r.column))), 2933 this.setMessage(), 2934 Error.captureStackTrace && Error.captureStackTrace(this, _t); 2935 } 2936 setMessage() { 2937 (this.message = this.plugin ? this.plugin + ': ' : ''), 2938 (this.message += this.file ? this.file : '<css input>'), 2939 typeof this.line != 'undefined' && (this.message += ':' + this.line + ':' + this.column), 2940 (this.message += ': ' + this.reason); 2941 } 2942 showSourceCode(e) { 2943 if (!this.source) return ''; 2944 let t = this.source; 2945 e == null && (e = of.isColorSupported), lf && e && (t = lf(t)); 2946 let r = t.split(/\r?\n/), 2947 n = Math.max(this.line - 3, 0), 2948 a = Math.min(this.line + 2, r.length), 2949 s = String(a).length, 2950 o, 2951 u; 2952 if (e) { 2953 let { bold: c, red: f, gray: d } = of.createColors(!0); 2954 (o = (p) => c(f(p))), (u = (p) => d(p)); 2955 } else o = u = (c) => c; 2956 return r.slice(n, a).map((c, f) => { 2957 let d = n + 1 + f, 2958 p = ' ' + (' ' + d).slice(-s) + ' | '; 2959 if (d === this.line) { 2960 let m = u(p.replace(/\d/g, ' ')) + c.slice(0, this.column - 1).replace(/[^\t]/g, ' '); 2961 return ( 2962 o('>') + 2963 u(p) + 2964 c + 2965 ` 2966 ` + 2967 m + 2968 o('^') 2969 ); 2970 } 2971 return ' ' + u(p) + c; 2972 }).join(` 2973`); 2974 } 2975 toString() { 2976 let e = this.showSourceCode(); 2977 return ( 2978 e && 2979 (e = 2980 ` 2981 2982` + 2983 e + 2984 ` 2985`), 2986 this.name + ': ' + this.message + e 2987 ); 2988 } 2989 };
2990 uf.exports = _t; 2991 _t.default = _t; 2992 }); 2993 var Si = v((cT, bs) => { 2994 l(); 2995 ('use strict'); 2996 bs.exports.isClean = Symbol('isClean'); 2997 bs.exports.my = Symbol('my'); 2998 }); 2999 var vs = v((pT, cf) => { 3000 l(); 3001 ('use strict'); 3002 var ff = { 3003 colon: ': ', 3004 indent: ' ', 3005 beforeDecl: ` 3006`, 3007 beforeRule: ` 3008`, 3009 beforeOpen: ' ', 3010 beforeClose: ` 3011`, 3012 beforeComment: ` 3013`, 3014 after: ` 3015`, 3016 emptyBody: '', 3017 commentLeft: ' ', 3018 commentRight: ' ', 3019 semicolon: !1, 3020 }; 3021 function o0(i) { 3022 return i[0].toUpperCase() + i.slice(1); 3023 } 3024 var Ci = class { 3025 constructor(e) { 3026 this.builder = e; 3027 } 3028 stringify(e, t) { 3029 if (!this[e.type]) 3030 throw new Error( 3031 'Unknown AST node type ' + e.type + '. Maybe you need to change PostCSS stringifier.', 3032 ); 3033 this[e.type](e, t); 3034 } 3035 document(e) { 3036 this.body(e); 3037 } 3038 root(e) { 3039 this.body(e), e.raws.after && this.builder(e.raws.after); 3040 } 3041 comment(e) { 3042 let t = this.raw(e, 'left', 'commentLeft'), 3043 r = this.raw(e, 'right', 'commentRight'); 3044 this.builder('/*' + t + e.text + r + '*/', e); 3045 } 3046 decl(e, t) { 3047 let r = this.raw(e, 'between', 'colon'), 3048 n = e.prop + r + this.rawValue(e, 'value'); 3049 e.important && (n += e.raws.important || ' !important'), t && (n += ';'), this.builder(n, e); 3050 } 3051 rule(e) { 3052 this.block(e, this.rawValue(e, 'selector')), 3053 e.raws.ownSemicolon && this.builder(e.raws.ownSemicolon, e, 'end'); 3054 } 3055 atrule(e, t) { 3056 let r = '@' + e.name, 3057 n = e.params ? this.rawValue(e, 'params') : ''; 3058 if ((typeof e.raws.afterName != 'undefined' ? (r += e.raws.afterName) : n && (r += ' '), e.nodes)) 3059 this.block(e, r + n); 3060 else { 3061 let a = (e.raws.between || '') + (t ? ';' : ''); 3062 this.builder(r + n + a, e); 3063 } 3064 } 3065 body(e) { 3066 let t = e.nodes.length - 1; 3067 for (; t > 0 && e.nodes[t].type === 'comment'; ) t -= 1; 3068 let r = this.raw(e, 'semicolon'); 3069 for (let n = 0; n < e.nodes.length; n++) {
3070 let a = e.nodes[n], 3071 s = this.raw(a, 'before'); 3072 s && this.builder(s), this.stringify(a, t !== n || r); 3073 } 3074 } 3075 block(e, t) { 3076 let r = this.raw(e, 'between', 'beforeOpen'); 3077 this.builder(t + r + '{', e, 'start'); 3078 let n; 3079 e.nodes && e.nodes.length 3080 ? (this.body(e), (n = this.raw(e, 'after'))) 3081 : (n = this.raw(e, 'after', 'emptyBody')), 3082 n && this.builder(n), 3083 this.builder('}', e, 'end'); 3084 } 3085 raw(e, t, r) { 3086 let n; 3087 if ((r || (r = t), t && ((n = e.raws[t]), typeof n != 'undefined'))) return n; 3088 let a = e.parent; 3089 if (r === 'before' && (!a || (a.type === 'root' && a.first === e) || (a && a.type === 'document'))) 3090 return ''; 3091 if (!a) return ff[r]; 3092 let s = e.root(); 3093 if ((s.rawCache || (s.rawCache = {}), typeof s.rawCache[r] != 'undefined')) return s.rawCache[r]; 3094 if (r === 'before' || r === 'after') return this.beforeAfter(e, r); 3095 { 3096 let o = 'raw' + o0(r); 3097 this[o] 3098 ? (n = this[o](s, e)) 3099 : s.walk((u) => { 3100 if (((n = u.raws[t]), typeof n != 'undefined')) return !1; 3101 }); 3102 } 3103 return typeof n == 'undefined' && (n = ff[r]), (s.rawCache[r] = n), n; 3104 } 3105 rawSemicolon(e) { 3106 let t; 3107 return ( 3108 e.walk((r) => { 3109 if ( 3110 r.nodes && 3111 r.nodes.length && 3112 r.last.type === 'decl' && 3113 ((t = r.raws.semicolon), typeof t != 'undefined') 3114 ) 3115 return !1; 3116 }), 3117 t 3118 ); 3119 } 3120 rawEmptyBody(e) { 3121 let t; 3122 return ( 3123 e.walk((r) => { 3124 if (r.nodes && r.nodes.length === 0 && ((t = r.raws.after), typeof t != 'undefined')) return !1; 3125 }), 3126 t 3127 ); 3128 } 3129 rawIndent(e) { 3130 if (e.raws.indent) return e.raws.indent; 3131 let t; 3132 return ( 3133 e.walk((r) => { 3134 let n = r.parent; 3135 if (n && n !== e && n.parent && n.parent === e && typeof r.raws.before != 'undefined') { 3136 let a = r.raws.before.split(` 3137`); 3138 return (t = a[a.length - 1]), (t = t.replace(/\S/g, '')), !1; 3139 } 3140 }), 3141 t 3142 ); 3143 } 3144 rawBeforeComment(e, t) { 3145 let r; 3146 return ( 3147 e.walkComments((n) => { 3148 if (typeof n.raws.before != 'undefined') 3149 return ( 3150 (r = n.raws.before), 3151 r.includes(` 3152`) && (r = r.replace(/[^\n]+$/, '')), 3153 !1 3154 ); 3155 }), 3156 typeof r == 'undefined' ? (r = this.raw(t, null, 'beforeDecl')) : r && (r = r.replace(/\S/g, '')), 3157 r 3158 ); 3159 } 3160 rawBeforeDecl(e, t) { 3161 let r; 3162 return ( 3163 e.walkDecls((n) => { 3164 if (typeof n.raws.before != 'undefined') 3165 return ( 3166 (r = n.raws.before), 3167 r.includes(` 3168`) && (r = r.replace(/[^\n]+$/, '')), 3169 !1 3170 ); 3171 }), 3172 typeof r == 'undefined' ? (r = this.raw(t, null, 'beforeRule')) : r && (r = r.replace(/\S/g, '')), 3173 r 3174 ); 3175 } 3176 rawBeforeRule(e) { 3177 let t; 3178 return ( 3179 e.walk((r) => { 3180 if (r.nodes && (r.parent !== e || e.first !== r) && typeof r.raws.before != 'undefined') 3181 return ( 3182 (t = r.raws.before), 3183 t.includes(` 3184`) && (t = t.replace(/[^\n]+$/, '')), 3185 !1 3186 ); 3187 }), 3188 t && (t = t.replace(/\S/g, '')), 3189 t 3190 ); 3191 } 3192 rawBeforeClose(e) { 3193 let t; 3194 return ( 3195 e.walk((r) => { 3196 if (r.nodes && r.nodes.length > 0 && typeof r.raws.after != 'undefined') 3197 return ( 3198 (t = r.raws.after), 3199 t.includes(` 3200`) && (t = t.replace(/[^\n]+$/, '')), 3201 !1 3202 ); 3203 }), 3204 t && (t = t.replace(/\S/g, '')), 3205 t 3206 ); 3207 } 3208 rawBeforeOpen(e) { 3209 let t; 3210 return ( 3211 e.walk((r) => { 3212 if (r.type !== 'decl' && ((t = r.raws.between), typeof t != 'undefined')) return !1; 3213 }), 3214 t 3215 ); 3216 } 3217 rawColon(e) { 3218 let t; 3219 return ( 3220 e.walkDecls((r) => { 3221 if (typeof r.raws.between != 'undefined') 3222 return (t = r.raws.between.replace(/[^\s:]/g, '')), !1; 3223 }), 3224 t 3225 ); 3226 } 3227 beforeAfter(e, t) { 3228 let r; 3229 e.type === 'decl' 3230 ? (r = this.raw(e, null, 'beforeDecl')) 3231 : e.type === 'comment' 3232 ? (r = this.raw(e, null, 'beforeComment')) 3233 : t === 'before' 3234 ? (r = this.raw(e, null, 'beforeRule')) 3235 : (r = this.raw(e, null, 'beforeClose')); 3236 let n = e.parent, 3237 a = 0; 3238 for (; n && n.type !== 'root'; ) (a += 1), (n = n.parent); 3239 if ( 3240 r.includes(` 3241`) 3242 ) { 3243 let s = this.raw(e, null, 'indent'); 3244 if (s.length) for (let o = 0; o < a; o++) r += s; 3245 } 3246 return r; 3247 } 3248 rawValue(e, t) { 3249 let r = e[t], 3250 n = e.raws[t]; 3251 return n && n.value === r ? n.raw : r; 3252 } 3253 }; 3254 cf.exports = Ci; 3255 Ci.default = Ci; 3256 }); 3257 var hr = v((dT, pf) => { 3258 l(); 3259 ('use strict'); 3260 var l0 = vs(); 3261 function xs(i, e) { 3262 new l0(e).stringify(i); 3263 } 3264 pf.exports = xs; 3265 xs.default = xs; 3266 }); 3267 var mr = v((hT, df) => { 3268 l(); 3269 ('use strict'); 3270 var { isClean: Ai, my: u0 } = Si(), 3271 f0 = ki(), 3272 c0 = vs(), 3273 p0 = hr(); 3274 function ks(i, e) { 3275 let t = new i.constructor(); 3276 for (let r in i) { 3277 if (!Object.prototype.hasOwnProperty.call(i, r) || r === 'proxyCache') continue; 3278 let n = i[r], 3279 a = typeof n; 3280 r === 'parent' && a === 'object' 3281 ? e && (t[r] = e) 3282 : r === 'source' 3283 ? (t[r] = n) 3284 : Array.isArray(n) 3285 ? (t[r] = n.map((s) => ks(s, t))) 3286 : (a === 'object' && n !== null && (n = ks(n)), (t[r] = n)); 3287 } 3288 return t; 3289 } 3290 var _i = class { 3291 constructor(e = {}) { 3292 (this.raws = {}), (this[Ai] = !1), (this[u0] = !0);
3293 for (let t in e) 3294 if (t === 'nodes') { 3295 this.nodes = []; 3296 for (let r of e[t]) typeof r.clone == 'function' ? this.append(r.clone()) : this.append(r); 3297 } else this[t] = e[t]; 3298 } 3299 error(e, t = {}) { 3300 if (this.source) { 3301 let { start: r, end: n } = this.rangeBy(t); 3302 return this.source.input.error( 3303 e, 3304 { line: r.line, column: r.column }, 3305 { line: n.line, column: n.column }, 3306 t, 3307 ); 3308 } 3309 return new f0(e); 3310 } 3311 warn(e, t, r) { 3312 let n = { node: this }; 3313 for (let a in r) n[a] = r[a]; 3314 return e.warn(t, n); 3315 } 3316 remove() { 3317 return this.parent && this.parent.removeChild(this), (this.parent = void 0), this; 3318 } 3319 toString(e = p0) { 3320 e.stringify && (e = e.stringify); 3321 let t = ''; 3322 return ( 3323 e(this, (r) => { 3324 t += r; 3325 }), 3326 t 3327 ); 3328 } 3329 assign(e = {}) { 3330 for (let t in e) this[t] = e[t]; 3331 return this; 3332 } 3333 clone(e = {}) { 3334 let t = ks(this); 3335 for (let r in e) t[r] = e[r]; 3336 return t; 3337 } 3338 cloneBefore(e = {}) { 3339 let t = this.clone(e); 3340 return this.parent.insertBefore(this, t), t; 3341 } 3342 cloneAfter(e = {}) { 3343 let t = this.clone(e); 3344 return this.parent.insertAfter(this, t), t; 3345 } 3346 replaceWith(...e) { 3347 if (this.parent) { 3348 let t = this, 3349 r = !1; 3350 for (let n of e) 3351 n === this 3352 ? (r = !0) 3353 : r 3354 ? (this.parent.insertAfter(t, n), (t = n)) 3355 : this.parent.insertBefore(t, n); 3356 r || this.remove(); 3357 } 3358 return this; 3359 } 3360 next() { 3361 if (!this.parent) return; 3362 let e = this.parent.index(this); 3363 return this.parent.nodes[e + 1]; 3364 } 3365 prev() { 3366 if (!this.parent) return; 3367 let e = this.parent.index(this); 3368 return this.parent.nodes[e - 1]; 3369 } 3370 before(e) { 3371 return this.parent.insertBefore(this, e), this; 3372 } 3373 after(e) { 3374 return this.parent.insertAfter(this, e), this; 3375 } 3376 root() { 3377 let e = this; 3378 for (; e.parent && e.parent.type !== 'document'; ) e = e.parent; 3379 return e; 3380 } 3381 raw(e, t) { 3382 return new c0().raw(this, e, t); 3383 } 3384 cleanRaws(e) { 3385 delete this.raws.before, delete this.raws.after, e || delete this.raws.between; 3386 } 3387 toJSON(e, t) { 3388 let r = {}, 3389 n = t == null; 3390 t = t || new Map(); 3391 let a = 0; 3392 for (let s in this) { 3393 if (!Object.prototype.hasOwnProperty.call(this, s) || s === 'parent' || s === 'proxyCache') 3394 continue; 3395 let o = this[s]; 3396 if (Array.isArray(o)) 3397 r[s] = o.map((u) => (typeof u == 'object' && u.toJSON ? u.toJSON(null, t) : u)); 3398 else if (typeof o == 'object' && o.toJSON) r[s] = o.toJSON(null, t); 3399 else if (s === 'source') { 3400 let u = t.get(o.input); 3401 u == null && ((u = a), t.set(o.input, a), a++), 3402 (r[s] = { inputId: u, start: o.start, end: o.end }); 3403 } else r[s] = o; 3404 } 3405 return n && (r.inputs = [...t.keys()].map((s) => s.toJSON())), r; 3406 } 3407 positionInside(e) { 3408 let t = this.toString(), 3409 r = this.source.start.column, 3410 n = this.source.start.line; 3411 for (let a = 0; a < e; a++) 3412 t[a] === 3413 ` 3414` 3415 ? ((r = 1), (n += 1)) 3416 : (r += 1); 3417 return { line: n, column: r }; 3418 } 3419 positionBy(e) { 3420 let t = this.source.start; 3421 if (e.index) t = this.positionInside(e.index); 3422 else if (e.word) { 3423 let r = this.toString().indexOf(e.word); 3424 r !== -1 && (t = this.positionInside(r)); 3425 } 3426 return t; 3427 } 3428 rangeBy(e) { 3429 let t = { 3430 line: this.source.start.line, 3431 column: this.source.start.column, 3432 }, 3433 r = this.source.end 3434 ? { line: this.source.end.line, column: this.source.end.column + 1 } 3435 : { line: t.line, column: t.column + 1 }; 3436 if (e.word) { 3437 let n = this.toString().indexOf(e.word); 3438 n !== -1 && ((t = this.positionInside(n)), (r = this.positionInside(n + e.word.length))); 3439 } else 3440 e.start 3441 ? (t = { line: e.start.line, column: e.start.column }) 3442 : e.index && (t = this.positionInside(e.index)), 3443 e.end 3444 ? (r = { line: e.end.line, column: e.end.column }) 3445 : e.endIndex 3446 ? (r = this.positionInside(e.endIndex)) 3447 : e.index && (r = this.positionInside(e.index + 1)); 3448 return ( 3449 (r.line < t.line || (r.line === t.line && r.column <= t.column)) && 3450 (r = { line: t.line, column: t.column + 1 }), 3451 { start: t, end: r } 3452 ); 3453 } 3454 getProxyProcessor() { 3455 return { 3456 set(e, t, r) { 3457 return ( 3458 e[t] === r || 3459 ((e[t] = r), 3460 (t === 'prop' || 3461 t === 'value' || 3462 t === 'name' || 3463 t === 'params' || 3464 t === 'important' || 3465 t === 'text') && 3466 e.markDirty()), 3467 !0 3468 ); 3469 }, 3470 get(e, t) { 3471 return t === 'proxyOf' ? e : t === 'root' ? () => e.root().toProxy() : e[t]; 3472 }, 3473 }; 3474 } 3475 toProxy() { 3476 return ( 3477 this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())), this.proxyCache 3478 ); 3479 } 3480 addToError(e) { 3481 if (((e.postcssNode = this), e.stack && this.source && /\n\s{4}at /.test(e.stack))) { 3482 let t = this.source; 3483 e.stack = e.stack.replace(/\n\s{4}at /, `$&${t.input.from}:${t.start.line}:${t.start.column}$&`); 3484 } 3485 return e; 3486 } 3487 markDirty() { 3488 if (this[Ai]) { 3489 this[Ai] = !1; 3490 let e = this; 3491 for (; (e = e.parent); ) e[Ai] = !1; 3492 } 3493 } 3494 get proxyOf() { 3495 return this; 3496 } 3497 }; 3498 df.exports = _i; 3499 _i.default = _i; 3500 }); 3501 var gr = v((mT, hf) => { 3502 l(); 3503 ('use strict'); 3504 var d0 = mr(), 3505 Oi = class extends d0 { 3506 constructor(e) { 3507 e && 3508 typeof e.value != 'undefined' && 3509 typeof e.value != 'string' && 3510 (e = { ...e, value: String(e.value) }); 3511 super(e); 3512 this.type = 'decl'; 3513 } 3514 get variable() { 3515 return this.prop.startsWith('--') || this.prop[0] === '$'; 3516 } 3517 }; 3518 hf.exports = Oi;
3519 Oi.default = Oi; 3520 }); 3521 var Ss = v((gT, mf) => { 3522 l(); 3523 mf.exports = function (i, e) { 3524 return { 3525 generate: () => { 3526 let t = ''; 3527 return ( 3528 i(e, (r) => { 3529 t += r; 3530 }), 3531 [t] 3532 ); 3533 }, 3534 }; 3535 }; 3536 }); 3537 var yr = v((yT, gf) => { 3538 l(); 3539 ('use strict'); 3540 var h0 = mr(), 3541 Ei = class extends h0 { 3542 constructor(e) { 3543 super(e); 3544 this.type = 'comment'; 3545 } 3546 }; 3547 gf.exports = Ei; 3548 Ei.default = Ei; 3549 }); 3550 var it = v((wT, Af) => { 3551 l(); 3552 ('use strict'); 3553 var { isClean: yf, my: wf } = Si(), 3554 bf = gr(), 3555 vf = yr(), 3556 m0 = mr(), 3557 xf, 3558 Cs, 3559 As, 3560 kf; 3561 function Sf(i) { 3562 return i.map((e) => (e.nodes && (e.nodes = Sf(e.nodes)), delete e.source, e)); 3563 } 3564 function Cf(i) { 3565 if (((i[yf] = !1), i.proxyOf.nodes)) for (let e of i.proxyOf.nodes) Cf(e); 3566 } 3567 var we = class extends m0 { 3568 push(e) { 3569 return (e.parent = this), this.proxyOf.nodes.push(e), this; 3570 } 3571 each(e) { 3572 if (!this.proxyOf.nodes) return; 3573 let t = this.getIterator(), 3574 r, 3575 n; 3576 for ( 3577 ; 3578 this.indexes[t] < this.proxyOf.nodes.length && 3579 ((r = this.indexes[t]), (n = e(this.proxyOf.nodes[r], r)), n !== !1); 3580 3581 ) 3582 this.indexes[t] += 1; 3583 return delete this.indexes[t], n; 3584 } 3585 walk(e) { 3586 return this.each((t, r) => { 3587 let n; 3588 try { 3589 n = e(t, r); 3590 } catch (a) { 3591 throw t.addToError(a); 3592 } 3593 return n !== !1 && t.walk && (n = t.walk(e)), n; 3594 }); 3595 } 3596 walkDecls(e, t) { 3597 return t 3598 ? e instanceof RegExp 3599 ? this.walk((r, n) => { 3600 if (r.type === 'decl' && e.test(r.prop)) return t(r, n); 3601 }) 3602 : this.walk((r, n) => { 3603 if (r.type === 'decl' && r.prop === e) return t(r, n); 3604 }) 3605 : ((t = e), 3606 this.walk((r, n) => { 3607 if (r.type === 'decl') return t(r, n); 3608 })); 3609 } 3610 walkRules(e, t) { 3611 return t 3612 ? e instanceof RegExp 3613 ? this.walk((r, n) => { 3614 if (r.type === 'rule' && e.test(r.selector)) return t(r, n); 3615 }) 3616 : this.walk((r, n) => { 3617 if (r.type === 'rule' && r.selector === e) return t(r, n); 3618 }) 3619 : ((t = e), 3620 this.walk((r, n) => { 3621 if (r.type === 'rule') return t(r, n); 3622 })); 3623 } 3624 walkAtRules(e, t) { 3625 return t 3626 ? e instanceof RegExp 3627 ? this.walk((r, n) => { 3628 if (r.type === 'atrule' && e.test(r.name)) return t(r, n); 3629 }) 3630 : this.walk((r, n) => { 3631 if (r.type === 'atrule' && r.name === e) return t(r, n); 3632 }) 3633 : ((t = e), 3634 this.walk((r, n) => { 3635 if (r.type === 'atrule') return t(r, n); 3636 })); 3637 } 3638 walkComments(e) { 3639 return this.walk((t, r) => { 3640 if (t.type === 'comment') return e(t, r); 3641 }); 3642 } 3643 append(...e) { 3644 for (let t of e) { 3645 let r = this.normalize(t, this.last); 3646 for (let n of r) this.proxyOf.nodes.push(n); 3647 } 3648 return this.markDirty(), this; 3649 } 3650 prepend(...e) { 3651 e = e.reverse(); 3652 for (let t of e) { 3653 let r = this.normalize(t, this.first, 'prepend').reverse(); 3654 for (let n of r) this.proxyOf.nodes.unshift(n); 3655 for (let n in this.indexes) this.indexes[n] = this.indexes[n] + r.length; 3656 } 3657 return this.markDirty(), this; 3658 } 3659 cleanRaws(e) { 3660 if ((super.cleanRaws(e), this.nodes)) for (let t of this.nodes) t.cleanRaws(e); 3661 } 3662 insertBefore(e, t) { 3663 let r = this.index(e), 3664 n = r === 0 ? 'prepend' : !1, 3665 a = this.normalize(t, this.proxyOf.nodes[r], n).reverse(); 3666 r = this.index(e); 3667 for (let o of a) this.proxyOf.nodes.splice(r, 0, o); 3668 let s; 3669 for (let o in this.indexes) (s = this.indexes[o]), r <= s && (this.indexes[o] = s + a.length); 3670 return this.markDirty(), this; 3671 } 3672 insertAfter(e, t) { 3673 let r = this.index(e), 3674 n = this.normalize(t, this.proxyOf.nodes[r]).reverse(); 3675 r = this.index(e); 3676 for (let s of n) this.proxyOf.nodes.splice(r + 1, 0, s); 3677 let a; 3678 for (let s in this.indexes) (a = this.indexes[s]), r < a && (this.indexes[s] = a + n.length); 3679 return this.markDirty(), this; 3680 } 3681 removeChild(e) { 3682 (e = this.index(e)), (this.proxyOf.nodes[e].parent = void 0), this.proxyOf.nodes.splice(e, 1); 3683 let t; 3684 for (let r in this.indexes) (t = this.indexes[r]), t >= e && (this.indexes[r] = t - 1); 3685 return this.markDirty(), this; 3686 } 3687 removeAll() { 3688 for (let e of this.proxyOf.nodes) e.parent = void 0; 3689 return (this.proxyOf.nodes = []), this.markDirty(), this; 3690 } 3691 replaceValues(e, t, r) { 3692 return ( 3693 r || ((r = t), (t = {})), 3694 this.walkDecls((n) => { 3695 (t.props && !t.props.includes(n.prop)) || 3696 (t.fast && !n.value.includes(t.fast)) || 3697 (n.value = n.value.replace(e, r)); 3698 }), 3699 this.markDirty(), 3700 this 3701 ); 3702 } 3703 every(e) { 3704 return this.nodes.every(e); 3705 } 3706 some(e) { 3707 return this.nodes.some(e); 3708 } 3709 index(e) { 3710 return typeof e == 'number' ? e : (e.proxyOf && (e = e.proxyOf), this.proxyOf.nodes.indexOf(e)); 3711 } 3712 get first() { 3713 if (!!this.proxyOf.nodes) return this.proxyOf.nodes[0]; 3714 } 3715 get last() { 3716 if (!!this.proxyOf.nodes) return this.proxyOf.nodes[this.proxyOf.nodes.length - 1]; 3717 } 3718 normalize(e, t) { 3719 if (typeof e == 'string') e = Sf(xf(e).nodes); 3720 else if (Array.isArray(e)) { 3721 e = e.slice(0); 3722 for (let n of e) n.parent && n.parent.removeChild(n, 'ignore'); 3723 } else if (e.type === 'root' && this.type !== 'document') { 3724 e = e.nodes.slice(0); 3725 for (let n of e) n.parent && n.parent.removeChild(n, 'ignore'); 3726 } else if (e.type) e = [e]; 3727 else if (e.prop) { 3728 if (typeof e.value == 'undefined') throw new Error('Value field is missed in node creation');
3729 typeof e.value != 'string' && (e.value = String(e.value)), (e = [new bf(e)]); 3730 } else if (e.selector) e = [new Cs(e)]; 3731 else if (e.name) e = [new As(e)]; 3732 else if (e.text) e = [new vf(e)]; 3733 else throw new Error('Unknown node type in node creation'); 3734 return e.map( 3735 (n) => ( 3736 n[wf] || we.rebuild(n), 3737 (n = n.proxyOf), 3738 n.parent && n.parent.removeChild(n), 3739 n[yf] && Cf(n), 3740 typeof n.raws.before == 'undefined' && 3741 t && 3742 typeof t.raws.before != 'undefined' && 3743 (n.raws.before = t.raws.before.replace(/\S/g, '')), 3744 (n.parent = this.proxyOf), 3745 n 3746 ), 3747 ); 3748 } 3749 getProxyProcessor() { 3750 return { 3751 set(e, t, r) { 3752 return ( 3753 e[t] === r || 3754 ((e[t] = r), (t === 'name' || t === 'params' || t === 'selector') && e.markDirty()), 3755 !0 3756 ); 3757 }, 3758 get(e, t) { 3759 return t === 'proxyOf' 3760 ? e 3761 : e[t] 3762 ? t === 'each' || (typeof t == 'string' && t.startsWith('walk')) 3763 ? (...r) => 3764 e[t]( 3765 ...r.map((n) => (typeof n == 'function' ? (a, s) => n(a.toProxy(), s) : n)), 3766 ) 3767 : t === 'every' || t === 'some' 3768 ? (r) => e[t]((n, ...a) => r(n.toProxy(), ...a)) 3769 : t === 'root' 3770 ? () => e.root().toProxy() 3771 : t === 'nodes' 3772 ? e.nodes.map((r) => r.toProxy()) 3773 : t === 'first' || t === 'last' 3774 ? e[t].toProxy() 3775 : e[t] 3776 : e[t]; 3777 }, 3778 }; 3779 } 3780 getIterator() { 3781 this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), (this.lastEach += 1); 3782 let e = this.lastEach; 3783 return (this.indexes[e] = 0), e; 3784 } 3785 }; 3786 we.registerParse = (i) => { 3787 xf = i; 3788 }; 3789 we.registerRule = (i) => { 3790 Cs = i; 3791 }; 3792 we.registerAtRule = (i) => { 3793 As = i; 3794 }; 3795 we.registerRoot = (i) => { 3796 kf = i; 3797 }; 3798 Af.exports = we; 3799 we.default = we; 3800 we.rebuild = (i) => { 3801 i.type === 'atrule' 3802 ? Object.setPrototypeOf(i, As.prototype) 3803 : i.type === 'rule' 3804 ? Object.setPrototypeOf(i, Cs.prototype) 3805 : i.type === 'decl' 3806 ? Object.setPrototypeOf(i, bf.prototype) 3807 : i.type === 'comment' 3808 ? Object.setPrototypeOf(i, vf.prototype) 3809 : i.type === 'root' && Object.setPrototypeOf(i, kf.prototype), 3810 (i[wf] = !0), 3811 i.nodes && 3812 i.nodes.forEach((e) => { 3813 we.rebuild(e); 3814 }); 3815 }; 3816 }); 3817 var Ti = v((bT, Ef) => { 3818 l(); 3819 ('use strict'); 3820 var g0 = it(), 3821 _f, 3822 Of, 3823 Ot = class extends g0 { 3824 constructor(e) { 3825 super({ type: 'document', ...e }); 3826 this.nodes || (this.nodes = []); 3827 } 3828 toResult(e = {}) { 3829 return new _f(new Of(), this, e).stringify(); 3830 } 3831 }; 3832 Ot.registerLazyResult = (i) => { 3833 _f = i; 3834 }; 3835 Ot.registerProcessor = (i) => { 3836 Of = i; 3837 }; 3838 Ef.exports = Ot; 3839 Ot.default = Ot; 3840 }); 3841 var _s = v((vT, Pf) => { 3842 l(); 3843 ('use strict'); 3844 var Tf = {}; 3845 Pf.exports = function (e) { 3846 Tf[e] || ((Tf[e] = !0), typeof console != 'undefined' && console.warn && console.warn(e)); 3847 }; 3848 }); 3849 var Os = v((xT, Df) => { 3850 l(); 3851 ('use strict'); 3852 var Pi = class { 3853 constructor(e, t = {}) { 3854 if (((this.type = 'warning'), (this.text = e), t.node && t.node.source)) { 3855 let r = t.node.rangeBy(t); 3856 (this.line = r.start.line), 3857 (this.column = r.start.column), 3858 (this.endLine = r.end.line), 3859 (this.endColumn = r.end.column); 3860 } 3861 for (let r in t) this[r] = t[r]; 3862 } 3863 toString() { 3864 return this.node 3865 ? this.node.error(this.text, { 3866 plugin: this.plugin, 3867 index: this.index, 3868 word: this.word, 3869 }).message 3870 : this.plugin 3871 ? this.plugin + ': ' + this.text 3872 : this.text; 3873 } 3874 }; 3875 Df.exports = Pi; 3876 Pi.default = Pi; 3877 }); 3878 var Ii = v((kT, If) => { 3879 l(); 3880 ('use strict'); 3881 var y0 = Os(), 3882 Di = class { 3883 constructor(e, t, r) { 3884 (this.processor = e), 3885 (this.messages = []), 3886 (this.root = t), 3887 (this.opts = r), 3888 (this.css = void 0), 3889 (this.map = void 0); 3890 } 3891 toString() { 3892 return this.css; 3893 } 3894 warn(e, t = {}) { 3895 t.plugin || 3896 (this.lastPlugin && 3897 this.lastPlugin.postcssPlugin && 3898 (t.plugin = this.lastPlugin.postcssPlugin)); 3899 let r = new y0(e, t); 3900 return this.messages.push(r), r; 3901 } 3902 warnings() { 3903 return this.messages.filter((e) => e.type === 'warning'); 3904 } 3905 get content() { 3906 return this.css; 3907 } 3908 }; 3909 If.exports = Di; 3910 Di.default = Di; 3911 }); 3912 var Ff = v((ST, Bf) => { 3913 l(); 3914 ('use strict'); 3915 var Es = "'".charCodeAt(0), 3916 qf = '"'.charCodeAt(0), 3917 qi = '\\'.charCodeAt(0), 3918 Rf = '/'.charCodeAt(0), 3919 Ri = ` 3920`.charCodeAt(0), 3921 wr = ' '.charCodeAt(0), 3922 Mi = '\f'.charCodeAt(0), 3923 Bi = ' '.charCodeAt(0), 3924 Fi = '\r'.charCodeAt(0), 3925 w0 = '['.charCodeAt(0), 3926 b0 = ']'.charCodeAt(0), 3927 v0 = '('.charCodeAt(0), 3928 x0 = ')'.charCodeAt(0),
3929 k0 = '{'.charCodeAt(0), 3930 S0 = '}'.charCodeAt(0), 3931 C0 = ';'.charCodeAt(0), 3932 A0 = '*'.charCodeAt(0), 3933 _0 = ':'.charCodeAt(0), 3934 O0 = '@'.charCodeAt(0), 3935 Ni = /[\t\n\f\r "#'()/;[\\\]{}]/g, 3936 Li = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, 3937 E0 = /.[\n"'(/\\]/, 3938 Mf = /[\da-f]/i; 3939 Bf.exports = function (e, t = {}) { 3940 let r = e.css.valueOf(), 3941 n = t.ignoreErrors, 3942 a, 3943 s, 3944 o, 3945 u, 3946 c, 3947 f, 3948 d, 3949 p, 3950 m, 3951 w, 3952 x = r.length, 3953 y = 0, 3954 b = [], 3955 k = []; 3956 function S() { 3957 return y; 3958 } 3959 function _(q) { 3960 throw e.error('Unclosed ' + q, y); 3961 } 3962 function O() { 3963 return k.length === 0 && y >= x; 3964 } 3965 function I(q) { 3966 if (k.length) return k.pop(); 3967 if (y >= x) return; 3968 let X = q ? q.ignoreUnclosed : !1; 3969 switch (((a = r.charCodeAt(y)), a)) { 3970 case Ri: 3971 case wr: 3972 case Bi: 3973 case Fi: 3974 case Mi: { 3975 s = y; 3976 do (s += 1), (a = r.charCodeAt(s)); 3977 while (a === wr || a === Ri || a === Bi || a === Fi || a === Mi); 3978 (w = ['space', r.slice(y, s)]), (y = s - 1); 3979 break; 3980 } 3981 case w0: 3982 case b0: 3983 case k0: 3984 case S0: 3985 case _0: 3986 case C0: 3987 case x0: { 3988 let le = String.fromCharCode(a); 3989 w = [le, le, y]; 3990 break; 3991 } 3992 case v0: { 3993 if ( 3994 ((p = b.length ? b.pop()[1] : ''), 3995 (m = r.charCodeAt(y + 1)), 3996 p === 'url' && 3997 m !== Es && 3998 m !== qf && 3999 m !== wr && 4000 m !== Ri && 4001 m !== Bi && 4002 m !== Mi && 4003 m !== Fi) 4004 ) { 4005 s = y; 4006 do { 4007 if (((f = !1), (s = r.indexOf(')', s + 1)), s === -1)) 4008 if (n || X) { 4009 s = y; 4010 break; 4011 } else _('bracket'); 4012 for (d = s; r.charCodeAt(d - 1) === qi; ) (d -= 1), (f = !f); 4013 } while (f); 4014 (w = ['brackets', r.slice(y, s + 1), y, s]), (y = s); 4015 } else 4016 (s = r.indexOf(')', y + 1)), 4017 (u = r.slice(y, s + 1)), 4018 s === -1 || E0.test(u) ? (w = ['(', '(', y]) : ((w = ['brackets', u, y, s]), (y = s)); 4019 break; 4020 } 4021 case Es: 4022 case qf: { 4023 (o = a === Es ? "'" : '"'), (s = y); 4024 do { 4025 if (((f = !1), (s = r.indexOf(o, s + 1)), s === -1)) 4026 if (n || X) { 4027 s = y + 1; 4028 break; 4029 } else _('string'); 4030 for (d = s; r.charCodeAt(d - 1) === qi; ) (d -= 1), (f = !f); 4031 } while (f); 4032 (w = ['string', r.slice(y, s + 1), y, s]), (y = s); 4033 break; 4034 } 4035 case O0: { 4036 (Ni.lastIndex = y + 1), 4037 Ni.test(r), 4038 Ni.lastIndex === 0 ? (s = r.length - 1) : (s = Ni.lastIndex - 2), 4039 (w = ['at-word', r.slice(y, s + 1), y, s]), 4040 (y = s); 4041 break; 4042 } 4043 case qi: { 4044 for (s = y, c = !0; r.charCodeAt(s + 1) === qi; ) (s += 1), (c = !c); 4045 if ( 4046 ((a = r.charCodeAt(s + 1)), 4047 c && 4048 a !== Rf && 4049 a !== wr && 4050 a !== Ri && 4051 a !== Bi && 4052 a !== Fi && 4053 a !== Mi && 4054 ((s += 1), Mf.test(r.charAt(s)))) 4055 ) { 4056 for (; Mf.test(r.charAt(s + 1)); ) s += 1; 4057 r.charCodeAt(s + 1) === wr && (s += 1); 4058 } 4059 (w = ['word', r.slice(y, s + 1), y, s]), (y = s); 4060 break; 4061 } 4062 default: { 4063 a === Rf && r.charCodeAt(y + 1) === A0 4064 ? ((s = r.indexOf('*/', y + 2) + 1), 4065 s === 0 && (n || X ? (s = r.length) : _('comment')), 4066 (w = ['comment', r.slice(y, s + 1), y, s]), 4067 (y = s)) 4068 : ((Li.lastIndex = y + 1), 4069 Li.test(r), 4070 Li.lastIndex === 0 ? (s = r.length - 1) : (s = Li.lastIndex - 2), 4071 (w = ['word', r.slice(y, s + 1), y, s]), 4072 b.push(w), 4073 (y = s)); 4074 break; 4075 } 4076 } 4077 return y++, w; 4078 } 4079 function B(q) { 4080 k.push(q); 4081 } 4082 return { back: B, nextToken: I, endOfFile: O, position: S }; 4083 }; 4084 }); 4085 var $i = v((CT, Lf) => { 4086 l(); 4087 ('use strict'); 4088 var Nf = it(), 4089 br = class extends Nf { 4090 constructor(e) { 4091 super(e); 4092 this.type = 'atrule'; 4093 } 4094 append(...e) { 4095 return this.proxyOf.nodes || (this.nodes = []), super.append(...e); 4096 } 4097 prepend(...e) { 4098 return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e); 4099 } 4100 }; 4101 Lf.exports = br; 4102 br.default = br; 4103 Nf.registerAtRule(br); 4104 }); 4105 var Et = v((AT, Vf) => { 4106 l(); 4107 ('use strict'); 4108 var $f = it(), 4109 jf, 4110 zf, 4111 yt = class extends $f { 4112 constructor(e) { 4113 super(e);
4114 (this.type = 'root'), this.nodes || (this.nodes = []); 4115 } 4116 removeChild(e, t) { 4117 let r = this.index(e); 4118 return ( 4119 !t && 4120 r === 0 && 4121 this.nodes.length > 1 && 4122 (this.nodes[1].raws.before = this.nodes[r].raws.before), 4123 super.removeChild(e) 4124 ); 4125 } 4126 normalize(e, t, r) { 4127 let n = super.normalize(e); 4128 if (t) { 4129 if (r === 'prepend') 4130 this.nodes.length > 1 ? (t.raws.before = this.nodes[1].raws.before) : delete t.raws.before; 4131 else if (this.first !== t) for (let a of n) a.raws.before = t.raws.before; 4132 } 4133 return n; 4134 } 4135 toResult(e = {}) { 4136 return new jf(new zf(), this, e).stringify(); 4137 } 4138 }; 4139 yt.registerLazyResult = (i) => { 4140 jf = i; 4141 }; 4142 yt.registerProcessor = (i) => { 4143 zf = i; 4144 }; 4145 Vf.exports = yt; 4146 yt.default = yt; 4147 $f.registerRoot(yt); 4148 }); 4149 var Ts = v((_T, Uf) => { 4150 l(); 4151 ('use strict'); 4152 var vr = { 4153 split(i, e, t) { 4154 let r = [], 4155 n = '', 4156 a = !1, 4157 s = 0, 4158 o = !1, 4159 u = '', 4160 c = !1; 4161 for (let f of i) 4162 c 4163 ? (c = !1) 4164 : f === '\\' 4165 ? (c = !0) 4166 : o 4167 ? f === u && (o = !1) 4168 : f === '"' || f === "'" 4169 ? ((o = !0), (u = f)) 4170 : f === '(' 4171 ? (s += 1) 4172 : f === ')' 4173 ? s > 0 && (s -= 1) 4174 : s === 0 && e.includes(f) && (a = !0), 4175 a ? (n !== '' && r.push(n.trim()), (n = ''), (a = !1)) : (n += f); 4176 return (t || n !== '') && r.push(n.trim()), r; 4177 }, 4178 space(i) { 4179 let e = [ 4180 ' ', 4181 ` 4182`, 4183 ' ', 4184 ]; 4185 return vr.split(i, e); 4186 }, 4187 comma(i) { 4188 return vr.split(i, [','], !0); 4189 }, 4190 }; 4191 Uf.exports = vr; 4192 vr.default = vr; 4193 }); 4194 var ji = v((OT, Gf) => { 4195 l(); 4196 ('use strict'); 4197 var Wf = it(), 4198 T0 = Ts(), 4199 xr = class extends Wf { 4200 constructor(e) { 4201 super(e);
4202 (this.type = 'rule'), this.nodes || (this.nodes = []); 4203 } 4204 get selectors() { 4205 return T0.comma(this.selector); 4206 } 4207 set selectors(e) { 4208 let t = this.selector ? this.selector.match(/,\s*/) : null, 4209 r = t ? t[0] : ',' + this.raw('between', 'beforeOpen'); 4210 this.selector = e.join(r); 4211 } 4212 }; 4213 Gf.exports = xr; 4214 xr.default = xr; 4215 Wf.registerRule(xr); 4216 }); 4217 var Xf = v((ET, Jf) => { 4218 l(); 4219 ('use strict'); 4220 var P0 = gr(), 4221 D0 = Ff(), 4222 I0 = yr(), 4223 q0 = $i(), 4224 R0 = Et(), 4225 Hf = ji(), 4226 Yf = { empty: !0, space: !0 }; 4227 function M0(i) { 4228 for (let e = i.length - 1; e >= 0; e--) { 4229 let t = i[e], 4230 r = t[3] || t[2]; 4231 if (r) return r; 4232 } 4233 } 4234 var Qf = class { 4235 constructor(e) { 4236 (this.input = e), 4237 (this.root = new R0()), 4238 (this.current = this.root), 4239 (this.spaces = ''), 4240 (this.semicolon = !1), 4241 (this.customProperty = !1), 4242 this.createTokenizer(), 4243 (this.root.source = { 4244 input: e, 4245 start: { offset: 0, line: 1, column: 1 }, 4246 }); 4247 } 4248 createTokenizer() { 4249 this.tokenizer = D0(this.input); 4250 } 4251 parse() { 4252 let e; 4253 for (; !this.tokenizer.endOfFile(); ) 4254 switch (((e = this.tokenizer.nextToken()), e[0])) { 4255 case 'space': 4256 this.spaces += e[1]; 4257 break; 4258 case ';': 4259 this.freeSemicolon(e); 4260 break; 4261 case '}': 4262 this.end(e); 4263 break; 4264 case 'comment': 4265 this.comment(e); 4266 break; 4267 case 'at-word': 4268 this.atrule(e); 4269 break; 4270 case '{': 4271 this.emptyRule(e); 4272 break; 4273 default: 4274 this.other(e); 4275 break; 4276 } 4277 this.endFile(); 4278 } 4279 comment(e) { 4280 let t = new I0(); 4281 this.init(t, e[2]), (t.source.end = this.getPosition(e[3] || e[2])); 4282 let r = e[1].slice(2, -2); 4283 if (/^\s*$/.test(r)) (t.text = ''), (t.raws.left = r), (t.raws.right = ''); 4284 else { 4285 let n = r.match(/^(\s*)([^]*\S)(\s*)$/); 4286 (t.text = n[2]), (t.raws.left = n[1]), (t.raws.right = n[3]); 4287 } 4288 } 4289 emptyRule(e) { 4290 let t = new Hf(); 4291 this.init(t, e[2]), (t.selector = ''), (t.raws.between = ''), (this.current = t); 4292 } 4293 other(e) { 4294 let t = !1, 4295 r = null, 4296 n = !1, 4297 a = null, 4298 s = [], 4299 o = e[1].startsWith('--'), 4300 u = [], 4301 c = e; 4302 for (; c; ) { 4303 if (((r = c[0]), u.push(c), r === '(' || r === '[')) a || (a = c), s.push(r === '(' ? ')' : ']'); 4304 else if (o && n && r === '{') a || (a = c), s.push('}'); 4305 else if (s.length === 0) 4306 if (r === ';') 4307 if (n) { 4308 this.decl(u, o); 4309 return; 4310 } else break; 4311 else if (r === '{') { 4312 this.rule(u); 4313 return; 4314 } else if (r === '}') { 4315 this.tokenizer.back(u.pop()), (t = !0); 4316 break; 4317 } else r === ':' && (n = !0); 4318 else r === s[s.length - 1] && (s.pop(), s.length === 0 && (a = null)); 4319 c = this.tokenizer.nextToken(); 4320 } 4321 if ((this.tokenizer.endOfFile() && (t = !0), s.length > 0 && this.unclosedBracket(a), t && n)) { 4322 if (!o) 4323 for (; u.length && ((c = u[u.length - 1][0]), !(c !== 'space' && c !== 'comment')); ) 4324 this.tokenizer.back(u.pop()); 4325 this.decl(u, o); 4326 } else this.unknownWord(u); 4327 } 4328 rule(e) { 4329 e.pop(); 4330 let t = new Hf(); 4331 this.init(t, e[0][2]), 4332 (t.raws.between = this.spacesAndCommentsFromEnd(e)), 4333 this.raw(t, 'selector', e), 4334 (this.current = t); 4335 } 4336 decl(e, t) { 4337 let r = new P0();
4338 this.init(r, e[0][2]); 4339 let n = e[e.length - 1]; 4340 for ( 4341 n[0] === ';' && ((this.semicolon = !0), e.pop()), 4342 r.source.end = this.getPosition(n[3] || n[2] || M0(e)); 4343 e[0][0] !== 'word'; 4344 4345 ) 4346 e.length === 1 && this.unknownWord(e), (r.raws.before += e.shift()[1]); 4347 for (r.source.start = this.getPosition(e[0][2]), r.prop = ''; e.length; ) { 4348 let c = e[0][0]; 4349 if (c === ':' || c === 'space' || c === 'comment') break; 4350 r.prop += e.shift()[1]; 4351 } 4352 r.raws.between = ''; 4353 let a; 4354 for (; e.length; ) 4355 if (((a = e.shift()), a[0] === ':')) { 4356 r.raws.between += a[1]; 4357 break; 4358 } else a[0] === 'word' && /\w/.test(a[1]) && this.unknownWord([a]), (r.raws.between += a[1]); 4359 (r.prop[0] === '_' || r.prop[0] === '*') && ((r.raws.before += r.prop[0]), (r.prop = r.prop.slice(1))); 4360 let s = [], 4361 o; 4362 for (; e.length && ((o = e[0][0]), !(o !== 'space' && o !== 'comment')); ) s.push(e.shift()); 4363 this.precheckMissedSemicolon(e); 4364 for (let c = e.length - 1; c >= 0; c--) { 4365 if (((a = e[c]), a[1].toLowerCase() === '!important')) { 4366 r.important = !0; 4367 let f = this.stringFrom(e, c); 4368 (f = this.spacesFromEnd(e) + f), f !== ' !important' && (r.raws.important = f); 4369 break; 4370 } else if (a[1].toLowerCase() === 'important') { 4371 let f = e.slice(0), 4372 d = ''; 4373 for (let p = c; p > 0; p--) { 4374 let m = f[p][0]; 4375 if (d.trim().indexOf('!') === 0 && m !== 'space') break; 4376 d = f.pop()[1] + d; 4377 } 4378 d.trim().indexOf('!') === 0 && ((r.important = !0), (r.raws.important = d), (e = f)); 4379 } 4380 if (a[0] !== 'space' && a[0] !== 'comment') break; 4381 } 4382 e.some((c) => c[0] !== 'space' && c[0] !== 'comment') && 4383 ((r.raws.between += s.map((c) => c[1]).join('')), (s = [])), 4384 this.raw(r, 'value', s.concat(e), t), 4385 r.value.includes(':') && !t && this.checkMissedSemicolon(e); 4386 } 4387 atrule(e) { 4388 let t = new q0(); 4389 (t.name = e[1].slice(1)), t.name === '' && this.unnamedAtrule(t, e), this.init(t, e[2]); 4390 let r, 4391 n, 4392 a, 4393 s = !1, 4394 o = !1, 4395 u = [], 4396 c = []; 4397 for (; !this.tokenizer.endOfFile(); ) { 4398 if ( 4399 ((e = this.tokenizer.nextToken()), 4400 (r = e[0]), 4401 r === '(' || r === '[' 4402 ? c.push(r === '(' ? ')' : ']') 4403 : r === '{' && c.length > 0 4404 ? c.push('}') 4405 : r === c[c.length - 1] && c.pop(), 4406 c.length === 0) 4407 ) 4408 if (r === ';') { 4409 (t.source.end = this.getPosition(e[2])), (this.semicolon = !0); 4410 break; 4411 } else if (r === '{') { 4412 o = !0; 4413 break; 4414 } else if (r === '}') { 4415 if (u.length > 0) { 4416 for (a = u.length - 1, n = u[a]; n && n[0] === 'space'; ) n = u[--a]; 4417 n && (t.source.end = this.getPosition(n[3] || n[2])); 4418 } 4419 this.end(e); 4420 break; 4421 } else u.push(e); 4422 else u.push(e); 4423 if (this.tokenizer.endOfFile()) { 4424 s = !0; 4425 break; 4426 } 4427 } 4428 (t.raws.between = this.spacesAndCommentsFromEnd(u)), 4429 u.length 4430 ? ((t.raws.afterName = this.spacesAndCommentsFromStart(u)), 4431 this.raw(t, 'params', u), 4432 s && 4433 ((e = u[u.length - 1]), 4434 (t.source.end = this.getPosition(e[3] || e[2])), 4435 (this.spaces = t.raws.between), 4436 (t.raws.between = ''))) 4437 : ((t.raws.afterName = ''), (t.params = '')), 4438 o && ((t.nodes = []), (this.current = t)); 4439 } 4440 end(e) { 4441 this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), 4442 (this.semicolon = !1), 4443 (this.current.raws.after = (this.current.raws.after || '') + this.spaces), 4444 (this.spaces = ''), 4445 this.current.parent 4446 ? ((this.current.source.end = this.getPosition(e[2])), (this.current = this.current.parent)) 4447 : this.unexpectedClose(e); 4448 } 4449 endFile() { 4450 this.current.parent && this.unclosedBlock(), 4451 this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), 4452 (this.current.raws.after = (this.current.raws.after || '') + this.spaces); 4453 } 4454 freeSemicolon(e) { 4455 if (((this.spaces += e[1]), this.current.nodes)) { 4456 let t = this.current.nodes[this.current.nodes.length - 1]; 4457 t && 4458 t.type === 'rule' && 4459 !t.raws.ownSemicolon && 4460 ((t.raws.ownSemicolon = this.spaces), (this.spaces = '')); 4461 } 4462 } 4463 getPosition(e) { 4464 let t = this.input.fromOffset(e); 4465 return { offset: e, line: t.line, column: t.col }; 4466 } 4467 init(e, t) { 4468 this.current.push(e),
4469 (e.source = { start: this.getPosition(t), input: this.input }), 4470 (e.raws.before = this.spaces), 4471 (this.spaces = ''), 4472 e.type !== 'comment' && (this.semicolon = !1); 4473 } 4474 raw(e, t, r, n) { 4475 let a, 4476 s, 4477 o = r.length, 4478 u = '', 4479 c = !0, 4480 f, 4481 d; 4482 for (let p = 0; p < o; p += 1) 4483 (a = r[p]), 4484 (s = a[0]), 4485 s === 'space' && p === o - 1 && !n 4486 ? (c = !1) 4487 : s === 'comment' 4488 ? ((d = r[p - 1] ? r[p - 1][0] : 'empty'), 4489 (f = r[p + 1] ? r[p + 1][0] : 'empty'), 4490 !Yf[d] && !Yf[f] ? (u.slice(-1) === ',' ? (c = !1) : (u += a[1])) : (c = !1)) 4491 : (u += a[1]); 4492 if (!c) { 4493 let p = r.reduce((m, w) => m + w[1], ''); 4494 e.raws[t] = { value: u, raw: p }; 4495 } 4496 e[t] = u; 4497 } 4498 spacesAndCommentsFromEnd(e) { 4499 let t, 4500 r = ''; 4501 for (; e.length && ((t = e[e.length - 1][0]), !(t !== 'space' && t !== 'comment')); ) 4502 r = e.pop()[1] + r; 4503 return r; 4504 } 4505 spacesAndCommentsFromStart(e) { 4506 let t, 4507 r = ''; 4508 for (; e.length && ((t = e[0][0]), !(t !== 'space' && t !== 'comment')); ) r += e.shift()[1]; 4509 return r; 4510 } 4511 spacesFromEnd(e) { 4512 let t, 4513 r = ''; 4514 for (; e.length && ((t = e[e.length - 1][0]), t === 'space'); ) r = e.pop()[1] + r; 4515 return r; 4516 } 4517 stringFrom(e, t) { 4518 let r = ''; 4519 for (let n = t; n < e.length; n++) r += e[n][1]; 4520 return e.splice(t, e.length - t), r; 4521 } 4522 colon(e) { 4523 let t = 0, 4524 r, 4525 n, 4526 a; 4527 for (let [s, o] of e.entries()) { 4528 if (((r = o), (n = r[0]), n === '(' && (t += 1), n === ')' && (t -= 1), t === 0 && n === ':')) 4529 if (!a) this.doubleColon(r); 4530 else { 4531 if (a[0] === 'word' && a[1] === 'progid') continue; 4532 return s; 4533 } 4534 a = r; 4535 } 4536 return !1; 4537 } 4538 unclosedBracket(e) { 4539 throw this.input.error('Unclosed bracket', { offset: e[2] }, { offset: e[2] + 1 }); 4540 } 4541 unknownWord(e) { 4542 throw this.input.error('Unknown word', { offset: e[0][2] }, { offset: e[0][2] + e[0][1].length }); 4543 } 4544 unexpectedClose(e) { 4545 throw this.input.error('Unexpected }', { offset: e[2] }, { offset: e[2] + 1 }); 4546 } 4547 unclosedBlock() { 4548 let e = this.current.source.start; 4549 throw this.input.error('Unclosed block', e.line, e.column); 4550 } 4551 doubleColon(e) { 4552 throw this.input.error('Double colon', { offset: e[2] }, { offset: e[2] + e[1].length }); 4553 } 4554 unnamedAtrule(e, t) { 4555 throw this.input.error('At-rule without name', { offset: t[2] }, { offset: t[2] + t[1].length }); 4556 } 4557 precheckMissedSemicolon() {} 4558 checkMissedSemicolon(e) { 4559 let t = this.colon(e); 4560 if (t === !1) return; 4561 let r = 0, 4562 n; 4563 for (let a = t - 1; a >= 0 && ((n = e[a]), !(n[0] !== 'space' && ((r += 1), r === 2))); a--); 4564 throw this.input.error('Missed semicolon', n[0] === 'word' ? n[3] + 1 : n[2]); 4565 } 4566 }; 4567 Jf.exports = Qf; 4568 }); 4569 var Kf = v(() => { 4570 l(); 4571 }); 4572 var ec = v((DT, Zf) => { 4573 l(); 4574 var B0 = 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict', 4575 F0 = 4576 (i, e = 21) => 4577 (t = e) => { 4578 let r = '', 4579 n = t; 4580 for (; n--; ) r += i[(Math.random() * i.length) | 0]; 4581 return r; 4582 }, 4583 N0 = (i = 21) => { 4584 let e = '', 4585 t = i; 4586 for (; t--; ) e += B0[(Math.random() * 64) | 0]; 4587 return e; 4588 }; 4589 Zf.exports = { nanoid: N0, customAlphabet: F0 }; 4590 }); 4591 var Ps = v((IT, tc) => { 4592 l(); 4593 tc.exports = {}; 4594 }); 4595 var Vi = v((qT, sc) => { 4596 l(); 4597 ('use strict'); 4598 var { SourceMapConsumer: L0, SourceMapGenerator: $0 } = Kf(), 4599 { fileURLToPath: rc, pathToFileURL: zi } = (ys(), af), 4600 { resolve: Ds, isAbsolute: Is } = (gt(), rf), 4601 { nanoid: j0 } = ec(), 4602 qs = ws(), 4603 ic = ki(), 4604 z0 = Ps(),
4605 Rs = Symbol('fromOffsetCache'), 4606 V0 = Boolean(L0 && $0), 4607 nc = Boolean(Ds && Is), 4608 kr = class { 4609 constructor(e, t = {}) { 4610 if (e === null || typeof e == 'undefined' || (typeof e == 'object' && !e.toString)) 4611 throw new Error(`PostCSS received ${e} instead of CSS string`); 4612 if ( 4613 ((this.css = e.toString()), 4614 this.css[0] === '\uFEFF' || this.css[0] === '\uFFFE' 4615 ? ((this.hasBOM = !0), (this.css = this.css.slice(1))) 4616 : (this.hasBOM = !1), 4617 t.from && 4618 (!nc || /^\w+:\/\//.test(t.from) || Is(t.from) 4619 ? (this.file = t.from) 4620 : (this.file = Ds(t.from))), 4621 nc && V0) 4622 ) { 4623 let r = new z0(this.css, t); 4624 if (r.text) { 4625 this.map = r; 4626 let n = r.consumer().file; 4627 !this.file && n && (this.file = this.mapResolve(n)); 4628 } 4629 } 4630 this.file || (this.id = '<input css ' + j0(6) + '>'), this.map && (this.map.file = this.from); 4631 } 4632 fromOffset(e) { 4633 let t, r; 4634 if (this[Rs]) r = this[Rs]; 4635 else { 4636 let a = this.css.split(` 4637`); 4638 r = new Array(a.length); 4639 let s = 0; 4640 for (let o = 0, u = a.length; o < u; o++) (r[o] = s), (s += a[o].length + 1); 4641 this[Rs] = r; 4642 } 4643 t = r[r.length - 1]; 4644 let n = 0; 4645 if (e >= t) n = r.length - 1; 4646 else { 4647 let a = r.length - 2, 4648 s; 4649 for (; n < a; ) 4650 if (((s = n + ((a - n) >> 1)), e < r[s])) a = s - 1; 4651 else if (e >= r[s + 1]) n = s + 1; 4652 else { 4653 n = s; 4654 break; 4655 } 4656 } 4657 return { line: n + 1, col: e - r[n] + 1 }; 4658 } 4659 error(e, t, r, n = {}) { 4660 let a, s, o; 4661 if (t && typeof t == 'object') { 4662 let c = t, 4663 f = r; 4664 if (typeof c.offset == 'number') { 4665 let d = this.fromOffset(c.offset); 4666 (t = d.line), (r = d.col); 4667 } else (t = c.line), (r = c.column); 4668 if (typeof f.offset == 'number') { 4669 let d = this.fromOffset(f.offset); 4670 (s = d.line), (o = d.col); 4671 } else (s = f.line), (o = f.column); 4672 } else if (!r) { 4673 let c = this.fromOffset(t); 4674 (t = c.line), (r = c.col); 4675 } 4676 let u = this.origin(t, r, s, o); 4677 return ( 4678 u 4679 ? (a = new ic( 4680 e, 4681 u.endLine === void 0 ? u.line : { line: u.line, column: u.column }, 4682 u.endLine === void 0 ? u.column : { line: u.endLine, column: u.endColumn }, 4683 u.source, 4684 u.file, 4685 n.plugin, 4686 )) 4687 : (a = new ic( 4688 e, 4689 s === void 0 ? t : { line: t, column: r }, 4690 s === void 0 ? r : { line: s, column: o }, 4691 this.css, 4692 this.file, 4693 n.plugin, 4694 )), 4695 (a.input = { 4696 line: t, 4697 column: r, 4698 endLine: s, 4699 endColumn: o, 4700 source: this.css, 4701 }), 4702 this.file && (zi && (a.input.url = zi(this.file).toString()), (a.input.file = this.file)), 4703 a 4704 ); 4705 } 4706 origin(e, t, r, n) { 4707 if (!this.map) return !1; 4708 let a = this.map.consumer(), 4709 s = a.originalPositionFor({ line: e, column: t }); 4710 if (!s.source) return !1; 4711 let o; 4712 typeof r == 'number' && (o = a.originalPositionFor({ line: r, column: n })); 4713 let u; 4714 Is(s.source) 4715 ? (u = zi(s.source)) 4716 : (u = new URL(s.source, this.map.consumer().sourceRoot || zi(this.map.mapFile))); 4717 let c = { 4718 url: u.toString(), 4719 line: s.line, 4720 column: s.column, 4721 endLine: o && o.line, 4722 endColumn: o && o.column, 4723 }; 4724 if (u.protocol === 'file:') 4725 if (rc) c.file = rc(u); 4726 else throw new Error('file: protocol is not available in this PostCSS build'); 4727 let f = a.sourceContentFor(s.source); 4728 return f && (c.source = f), c; 4729 } 4730 mapResolve(e) { 4731 return /^\w+:\/\//.test(e) ? e : Ds(this.map.consumer().sourceRoot || this.map.root || '.', e); 4732 } 4733 get from() { 4734 return this.file || this.id; 4735 } 4736 toJSON() { 4737 let e = {}; 4738 for (let t of ['hasBOM', 'css', 'file', 'id']) this[t] != null && (e[t] = this[t]); 4739 return ( 4740 this.map && ((e.map = { ...this.map }), e.map.consumerCache && (e.map.consumerCache = void 0)), 4741 e 4742 ); 4743 } 4744 }; 4745 sc.exports = kr; 4746 kr.default = kr; 4747 qs && qs.registerInput && qs.registerInput(kr); 4748 }); 4749 var Wi = v((RT, ac) => { 4750 l(); 4751 ('use strict'); 4752 var U0 = it(), 4753 W0 = Xf(), 4754 G0 = Vi(); 4755 function Ui(i, e) { 4756 let t = new G0(i, e), 4757 r = new W0(t); 4758 try { 4759 r.parse(); 4760 } catch (n) { 4761 throw n; 4762 } 4763 return r.root; 4764 } 4765 ac.exports = Ui; 4766 Ui.default = Ui; 4767 U0.registerParse(Ui);
4768 }); 4769 var Fs = v((BT, fc) => { 4770 l(); 4771 ('use strict'); 4772 var { isClean: Ie, my: H0 } = Si(), 4773 Y0 = Ss(), 4774 Q0 = hr(), 4775 J0 = it(), 4776 X0 = Ti(), 4777 MT = _s(), 4778 oc = Ii(), 4779 K0 = Wi(), 4780 Z0 = Et(), 4781 ev = { 4782 document: 'Document', 4783 root: 'Root', 4784 atrule: 'AtRule', 4785 rule: 'Rule', 4786 decl: 'Declaration', 4787 comment: 'Comment', 4788 }, 4789 tv = { 4790 postcssPlugin: !0, 4791 prepare: !0, 4792 Once: !0, 4793 Document: !0, 4794 Root: !0, 4795 Declaration: !0, 4796 Rule: !0, 4797 AtRule: !0, 4798 Comment: !0, 4799 DeclarationExit: !0, 4800 RuleExit: !0, 4801 AtRuleExit: !0, 4802 CommentExit: !0, 4803 RootExit: !0, 4804 DocumentExit: !0, 4805 OnceExit: !0, 4806 }, 4807 rv = { postcssPlugin: !0, prepare: !0, Once: !0 }, 4808 Tt = 0; 4809 function Sr(i) { 4810 return typeof i == 'object' && typeof i.then == 'function'; 4811 } 4812 function lc(i) { 4813 let e = !1, 4814 t = ev[i.type]; 4815 return ( 4816 i.type === 'decl' ? (e = i.prop.toLowerCase()) : i.type === 'atrule' && (e = i.name.toLowerCase()), 4817 e && i.append 4818 ? [t, t + '-' + e, Tt, t + 'Exit', t + 'Exit-' + e] 4819 : e 4820 ? [t, t + '-' + e, t + 'Exit', t + 'Exit-' + e] 4821 : i.append 4822 ? [t, Tt, t + 'Exit'] 4823 : [t, t + 'Exit'] 4824 ); 4825 } 4826 function uc(i) { 4827 let e; 4828 return ( 4829 i.type === 'document' 4830 ? (e = ['Document', Tt, 'DocumentExit']) 4831 : i.type === 'root' 4832 ? (e = ['Root', Tt, 'RootExit']) 4833 : (e = lc(i)), 4834 { 4835 node: i, 4836 events: e, 4837 eventIndex: 0, 4838 visitors: [], 4839 visitorIndex: 0, 4840 iterator: 0, 4841 } 4842 ); 4843 } 4844 function Ms(i) { 4845 return (i[Ie] = !1), i.nodes && i.nodes.forEach((e) => Ms(e)), i; 4846 } 4847 var Bs = {}, 4848 Ve = class { 4849 constructor(e, t, r) { 4850 (this.stringified = !1), (this.processed = !1); 4851 let n; 4852 if (typeof t == 'object' && t !== null && (t.type === 'root' || t.type === 'document')) n = Ms(t); 4853 else if (t instanceof Ve || t instanceof oc) 4854 (n = Ms(t.root)), 4855 t.map && 4856 (typeof r.map == 'undefined' && (r.map = {}), 4857 r.map.inline || (r.map.inline = !1), 4858 (r.map.prev = t.map)); 4859 else { 4860 let a = K0; 4861 r.syntax && (a = r.syntax.parse), r.parser && (a = r.parser), a.parse && (a = a.parse); 4862 try { 4863 n = a(t, r); 4864 } catch (s) { 4865 (this.processed = !0), (this.error = s); 4866 } 4867 n && !n[H0] && J0.rebuild(n);
4868 } 4869 (this.result = new oc(e, n, r)), 4870 (this.helpers = { ...Bs, result: this.result, postcss: Bs }), 4871 (this.plugins = this.processor.plugins.map((a) => 4872 typeof a == 'object' && a.prepare ? { ...a, ...a.prepare(this.result) } : a, 4873 )); 4874 } 4875 get [Symbol.toStringTag]() { 4876 return 'LazyResult'; 4877 } 4878 get processor() { 4879 return this.result.processor; 4880 } 4881 get opts() { 4882 return this.result.opts; 4883 } 4884 get css() { 4885 return this.stringify().css; 4886 } 4887 get content() { 4888 return this.stringify().content; 4889 } 4890 get map() { 4891 return this.stringify().map; 4892 } 4893 get root() { 4894 return this.sync().root; 4895 } 4896 get messages() { 4897 return this.sync().messages; 4898 } 4899 warnings() { 4900 return this.sync().warnings(); 4901 } 4902 toString() { 4903 return this.css; 4904 } 4905 then(e, t) { 4906 return this.async().then(e, t); 4907 } 4908 catch(e) { 4909 return this.async().catch(e); 4910 } 4911 finally(e) { 4912 return this.async().then(e, e); 4913 } 4914 async() { 4915 return this.error 4916 ? Promise.reject(this.error) 4917 : this.processed 4918 ? Promise.resolve(this.result) 4919 : (this.processing || (this.processing = this.runAsync()), this.processing); 4920 } 4921 sync() { 4922 if (this.error) throw this.error; 4923 if (this.processed) return this.result; 4924 if (((this.processed = !0), this.processing)) throw this.getAsyncError(); 4925 for (let e of this.plugins) { 4926 let t = this.runOnRoot(e); 4927 if (Sr(t)) throw this.getAsyncError(); 4928 } 4929 if ((this.prepareVisitors(), this.hasListener)) { 4930 let e = this.result.root; 4931 for (; !e[Ie]; ) (e[Ie] = !0), this.walkSync(e); 4932 if (this.listeners.OnceExit) 4933 if (e.type === 'document') 4934 for (let t of e.nodes) this.visitSync(this.listeners.OnceExit, t); 4935 else this.visitSync(this.listeners.OnceExit, e); 4936 } 4937 return this.result; 4938 } 4939 stringify() { 4940 if (this.error) throw this.error; 4941 if (this.stringified) return this.result; 4942 (this.stringified = !0), this.sync(); 4943 let e = this.result.opts, 4944 t = Q0; 4945 e.syntax && (t = e.syntax.stringify), 4946 e.stringifier && (t = e.stringifier), 4947 t.stringify && (t = t.stringify); 4948 let n = new Y0(t, this.result.root, this.result.opts).generate(); 4949 return (this.result.css = n[0]), (this.result.map = n[1]), this.result; 4950 } 4951 walkSync(e) { 4952 e[Ie] = !0; 4953 let t = lc(e); 4954 for (let r of t) 4955 if (r === Tt) 4956 e.nodes && 4957 e.each((n) => { 4958 n[Ie] || this.walkSync(n); 4959 });
4960 else { 4961 let n = this.listeners[r]; 4962 if (n && this.visitSync(n, e.toProxy())) return; 4963 } 4964 } 4965 visitSync(e, t) { 4966 for (let [r, n] of e) { 4967 this.result.lastPlugin = r; 4968 let a; 4969 try { 4970 a = n(t, this.helpers); 4971 } catch (s) { 4972 throw this.handleError(s, t.proxyOf); 4973 } 4974 if (t.type !== 'root' && t.type !== 'document' && !t.parent) return !0; 4975 if (Sr(a)) throw this.getAsyncError(); 4976 } 4977 } 4978 runOnRoot(e) { 4979 this.result.lastPlugin = e; 4980 try { 4981 if (typeof e == 'object' && e.Once) { 4982 if (this.result.root.type === 'document') { 4983 let t = this.result.root.nodes.map((r) => e.Once(r, this.helpers)); 4984 return Sr(t[0]) ? Promise.all(t) : t; 4985 } 4986 return e.Once(this.result.root, this.helpers); 4987 } else if (typeof e == 'function') return e(this.result.root, this.result); 4988 } catch (t) { 4989 throw this.handleError(t); 4990 } 4991 } 4992 getAsyncError() { 4993 throw new Error('Use process(css).then(cb) to work with async plugins'); 4994 } 4995 handleError(e, t) { 4996 let r = this.result.lastPlugin; 4997 try { 4998 t && t.addToError(e), 4999 (this.error = e), 5000 e.name === 'CssSyntaxError' && !e.plugin 5001 ? ((e.plugin = r.postcssPlugin), e.setMessage()) 5002 : r.postcssVersion; 5003 } catch (n) { 5004 console && console.error && console.error(n); 5005 } 5006 return e; 5007 } 5008 async runAsync() { 5009 this.plugin = 0; 5010 for (let e = 0; e < this.plugins.length; e++) { 5011 let t = this.plugins[e], 5012 r = this.runOnRoot(t); 5013 if (Sr(r)) 5014 try { 5015 await r; 5016 } catch (n) { 5017 throw this.handleError(n); 5018 } 5019 } 5020 if ((this.prepareVisitors(), this.hasListener)) { 5021 let e = this.result.root; 5022 for (; !e[Ie]; ) { 5023 e[Ie] = !0; 5024 let t = [uc(e)]; 5025 for (; t.length > 0; ) { 5026 let r = this.visitTick(t); 5027 if (Sr(r)) 5028 try { 5029 await r; 5030 } catch (n) { 5031 let a = t[t.length - 1].node; 5032 throw this.handleError(n, a); 5033 } 5034 } 5035 } 5036 if (this.listeners.OnceExit) 5037 for (let [t, r] of this.listeners.OnceExit) { 5038 this.result.lastPlugin = t; 5039 try { 5040 if (e.type === 'document') { 5041 let n = e.nodes.map((a) => r(a, this.helpers)); 5042 await Promise.all(n); 5043 } else await r(e, this.helpers); 5044 } catch (n) { 5045 throw this.handleError(n); 5046 } 5047 } 5048 } 5049 return (this.processed = !0), this.stringify(); 5050 } 5051 prepareVisitors() { 5052 this.listeners = {}; 5053 let e = (t, r, n) => { 5054 this.listeners[r] || (this.listeners[r] = []), this.listeners[r].push([t, n]); 5055 }; 5056 for (let t of this.plugins) 5057 if (typeof t == 'object') 5058 for (let r in t) { 5059 if (!tv[r] && /^[A-Z]/.test(r)) 5060 throw new Error( 5061 `Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`, 5062 ); 5063 if (!rv[r]) 5064 if (typeof t[r] == 'object') 5065 for (let n in t[r]) 5066 n === '*' ? e(t, r, t[r][n]) : e(t, r + '-' + n.toLowerCase(), t[r][n]); 5067 else typeof t[r] == 'function' && e(t, r, t[r]); 5068 } 5069 this.hasListener = Object.keys(this.listeners).length > 0; 5070 } 5071 visitTick(e) { 5072 let t = e[e.length - 1], 5073 { node: r, visitors: n } = t; 5074 if (r.type !== 'root' && r.type !== 'document' && !r.parent) { 5075 e.pop(); 5076 return; 5077 } 5078 if (n.length > 0 && t.visitorIndex < n.length) { 5079 let [s, o] = n[t.visitorIndex]; 5080 (t.visitorIndex += 1), 5081 t.visitorIndex === n.length && ((t.visitors = []), (t.visitorIndex = 0)), 5082 (this.result.lastPlugin = s); 5083 try { 5084 return o(r.toProxy(), this.helpers); 5085 } catch (u) { 5086 throw this.handleError(u, r); 5087 } 5088 } 5089 if (t.iterator !== 0) { 5090 let s = t.iterator, 5091 o; 5092 for (; (o = r.nodes[r.indexes[s]]); ) 5093 if (((r.indexes[s] += 1), !o[Ie])) { 5094 (o[Ie] = !0), e.push(uc(o)); 5095 return; 5096 } 5097 (t.iterator = 0), delete r.indexes[s]; 5098 } 5099 let a = t.events; 5100 for (; t.eventIndex < a.length; ) { 5101 let s = a[t.eventIndex]; 5102 if (((t.eventIndex += 1), s === Tt)) { 5103 r.nodes && r.nodes.length && ((r[Ie] = !0), (t.iterator = r.getIterator())); 5104 return; 5105 } else if (this.listeners[s]) { 5106 t.visitors = this.listeners[s]; 5107 return; 5108 } 5109 } 5110 e.pop();
5111 } 5112 }; 5113 Ve.registerPostcss = (i) => { 5114 Bs = i; 5115 }; 5116 fc.exports = Ve; 5117 Ve.default = Ve; 5118 Z0.registerLazyResult(Ve); 5119 X0.registerLazyResult(Ve); 5120 }); 5121 var pc = v((NT, cc) => { 5122 l(); 5123 ('use strict'); 5124 var iv = Ss(), 5125 nv = hr(), 5126 FT = _s(), 5127 sv = Wi(), 5128 av = Ii(), 5129 Gi = class { 5130 constructor(e, t, r) { 5131 (t = t.toString()), 5132 (this.stringified = !1), 5133 (this._processor = e), 5134 (this._css = t), 5135 (this._opts = r), 5136 (this._map = void 0); 5137 let n, 5138 a = nv; 5139 (this.result = new av(this._processor, n, this._opts)), (this.result.css = t); 5140 let s = this; 5141 Object.defineProperty(this.result, 'root', { 5142 get() { 5143 return s.root; 5144 }, 5145 }); 5146 let o = new iv(a, n, this._opts, t); 5147 if (o.isMap()) { 5148 let [u, c] = o.generate(); 5149 u && (this.result.css = u), c && (this.result.map = c); 5150 } 5151 } 5152 get [Symbol.toStringTag]() { 5153 return 'NoWorkResult'; 5154 } 5155 get processor() { 5156 return this.result.processor; 5157 } 5158 get opts() { 5159 return this.result.opts; 5160 } 5161 get css() { 5162 return this.result.css; 5163 } 5164 get content() { 5165 return this.result.css; 5166 } 5167 get map() { 5168 return this.result.map; 5169 } 5170 get root() { 5171 if (this._root) return this._root; 5172 let e, 5173 t = sv; 5174 try { 5175 e = t(this._css, this._opts); 5176 } catch (r) { 5177 this.error = r; 5178 } 5179 if (this.error) throw this.error; 5180 return (this._root = e), e; 5181 } 5182 get messages() { 5183 return []; 5184 } 5185 warnings() { 5186 return []; 5187 } 5188 toString() { 5189 return this._css; 5190 } 5191 then(e, t) { 5192 return this.async().then(e, t); 5193 } 5194 catch(e) { 5195 return this.async().catch(e); 5196 } 5197 finally(e) { 5198 return this.async().then(e, e); 5199 } 5200 async() { 5201 return this.error ? Promise.reject(this.error) : Promise.resolve(this.result); 5202 } 5203 sync() { 5204 if (this.error) throw this.error; 5205 return this.result; 5206 } 5207 }; 5208 cc.exports = Gi; 5209 Gi.default = Gi; 5210 }); 5211 var hc = v((LT, dc) => { 5212 l(); 5213 ('use strict'); 5214 var ov = pc(), 5215 lv = Fs(), 5216 uv = Ti(), 5217 fv = Et(), 5218 Pt = class { 5219 constructor(e = []) { 5220 (this.version = '8.4.24'), (this.plugins = this.normalize(e)); 5221 } 5222 use(e) { 5223 return (this.plugins = this.plugins.concat(this.normalize([e]))), this; 5224 } 5225 process(e, t = {}) { 5226 return this.plugins.length === 0 && 5227 typeof t.parser == 'undefined' && 5228 typeof t.stringifier == 'undefined' && 5229 typeof t.syntax == 'undefined' 5230 ? new ov(this, e, t) 5231 : new lv(this, e, t); 5232 } 5233 normalize(e) { 5234 let t = []; 5235 for (let r of e) 5236 if ( 5237 (r.postcss === !0 ? (r = r()) : r.postcss && (r = r.postcss), 5238 typeof r == 'object' && Array.isArray(r.plugins)) 5239 ) 5240 t = t.concat(r.plugins); 5241 else if (typeof r == 'object' && r.postcssPlugin) t.push(r); 5242 else if (typeof r == 'function') t.push(r); 5243 else if (!(typeof r == 'object' && (r.parse || r.stringify))) 5244 throw new Error(r + ' is not a PostCSS plugin'); 5245 return t; 5246 } 5247 }; 5248 dc.exports = Pt; 5249 Pt.default = Pt; 5250 fv.registerProcessor(Pt); 5251 uv.registerProcessor(Pt); 5252 }); 5253 var gc = v(($T, mc) => { 5254 l(); 5255 ('use strict'); 5256 var cv = gr(), 5257 pv = Ps(), 5258 dv = yr(), 5259 hv = $i(), 5260 mv = Vi(), 5261 gv = Et(), 5262 yv = ji(); 5263 function Cr(i, e) { 5264 if (Array.isArray(i)) return i.map((n) => Cr(n)); 5265 let { inputs: t, ...r } = i; 5266 if (t) { 5267 e = []; 5268 for (let n of t) { 5269 let a = { ...n, __proto__: mv.prototype }; 5270 a.map && (a.map = { ...a.map, __proto__: pv.prototype }), e.push(a); 5271 } 5272 } 5273 if ((r.nodes && (r.nodes = i.nodes.map((n) => Cr(n, e))), r.source)) { 5274 let { inputId: n, ...a } = r.source; 5275 (r.source = a), n != null && (r.source.input = e[n]); 5276 } 5277 if (r.type === 'root') return new gv(r); 5278 if (r.type === 'decl') return new cv(r); 5279 if (r.type === 'rule') return new yv(r); 5280 if (r.type === 'comment') return new dv(r); 5281 if (r.type === 'atrule') return new hv(r); 5282 throw new Error('Unknown node type: ' + i.type); 5283 } 5284 mc.exports = Cr; 5285 Cr.default = Cr; 5286 }); 5287 var ge = v((jT, Sc) => { 5288 l(); 5289 ('use strict'); 5290 var wv = ki(), 5291 yc = gr(), 5292 bv = Fs(), 5293 vv = it(), 5294 Ns = hc(), 5295 xv = hr(), 5296 kv = gc(), 5297 wc = Ti(), 5298 Sv = Os(), 5299 bc = yr(), 5300 vc = $i(), 5301 Cv = Ii(), 5302 Av = Vi(), 5303 _v = Wi(), 5304 Ov = Ts(), 5305 xc = ji(), 5306 kc = Et(), 5307 Ev = mr(); 5308 function z(...i) { 5309 return i.length === 1 && Array.isArray(i[0]) && (i = i[0]), new Ns(i);
5310 } 5311 z.plugin = function (e, t) { 5312 let r = !1; 5313 function n(...s) { 5314 console && 5315 console.warn && 5316 !r && 5317 ((r = !0), 5318 console.warn( 5319 e + 5320 `: postcss.plugin was deprecated. Migration guide: 5321https://evilmartians.com/chronicles/postcss-8-plugin-migration`, 5322 ), 5323 h.env.LANG && 5324 h.env.LANG.startsWith('cn') && 5325 console.warn( 5326 e + 5327 `: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 5328https://www.w3ctech.com/topic/2226`, 5329 )); 5330 let o = t(...s); 5331 return (o.postcssPlugin = e), (o.postcssVersion = new Ns().version), o; 5332 } 5333 let a; 5334 return ( 5335 Object.defineProperty(n, 'postcss', { 5336 get() { 5337 return a || (a = n()), a; 5338 }, 5339 }), 5340 (n.process = function (s, o, u) { 5341 return z([n(u)]).process(s, o); 5342 }), 5343 n 5344 ); 5345 }; 5346 z.stringify = xv; 5347 z.parse = _v; 5348 z.fromJSON = kv; 5349 z.list = Ov; 5350 z.comment = (i) => new bc(i); 5351 z.atRule = (i) => new vc(i); 5352 z.decl = (i) => new yc(i); 5353 z.rule = (i) => new xc(i); 5354 z.root = (i) => new kc(i); 5355 z.document = (i) => new wc(i); 5356 z.CssSyntaxError = wv; 5357 z.Declaration = yc; 5358 z.Container = vv; 5359 z.Processor = Ns; 5360 z.Document = wc; 5361 z.Comment = bc; 5362 z.Warning = Sv; 5363 z.AtRule = vc; 5364 z.Result = Cv; 5365 z.Input = Av; 5366 z.Rule = xc; 5367 z.Root = kc; 5368 z.Node = Ev; 5369 bv.registerPostcss(z); 5370 Sc.exports = z; 5371 z.default = z; 5372 }); 5373 var W, 5374 V, 5375 zT, 5376 VT, 5377 UT, 5378 WT, 5379 GT, 5380 HT, 5381 YT, 5382 QT, 5383 JT, 5384 XT, 5385 KT, 5386 ZT, 5387 e3, 5388 t3, 5389 r3, 5390 i3, 5391 n3, 5392 s3, 5393 a3, 5394 o3, 5395 l3, 5396 u3, 5397 f3, 5398 c3, 5399 nt = C(() => { 5400 l(); 5401 (W = K(ge())), 5402 (V = W.default), 5403 (zT = W.default.stringify), 5404 (VT = W.default.fromJSON), 5405 (UT = W.default.plugin), 5406 (WT = W.default.parse), 5407 (GT = W.default.list), 5408 (HT = W.default.document), 5409 (YT = W.default.comment), 5410 (QT = W.default.atRule), 5411 (JT = W.default.rule), 5412 (XT = W.default.decl), 5413 (KT = W.default.root), 5414 (ZT = W.default.CssSyntaxError), 5415 (e3 = W.default.Declaration), 5416 (t3 = W.default.Container), 5417 (r3 = W.default.Processor), 5418 (i3 = W.default.Document), 5419 (n3 = W.default.Comment), 5420 (s3 = W.default.Warning), 5421 (a3 = W.default.AtRule), 5422 (o3 = W.default.Result), 5423 (l3 = W.default.Input), 5424 (u3 = W.default.Rule), 5425 (f3 = W.default.Root), 5426 (c3 = W.default.Node); 5427 }); 5428 var Ls = v((d3, Cc) => { 5429 l(); 5430 Cc.exports = function (i, e, t, r, n) { 5431 for (e = e.split ? e.split('.') : e, r = 0; r < e.length; r++) i = i ? i[e[r]] : n; 5432 return i === n ? t : i; 5433 }; 5434 }); 5435 var Yi = v((Hi, Ac) => { 5436 l(); 5437 ('use strict'); 5438 Hi.__esModule = !0; 5439 Hi.default = Dv; 5440 function Tv(i) { 5441 for (var e = i.toLowerCase(), t = '', r = !1, n = 0; n < 6 && e[n] !== void 0; n++) { 5442 var a = e.charCodeAt(n), 5443 s = (a >= 97 && a <= 102) || (a >= 48 && a <= 57); 5444 if (((r = a === 32), !s)) break; 5445 t += e[n]; 5446 } 5447 if (t.length !== 0) { 5448 var o = parseInt(t, 16), 5449 u = o >= 55296 && o <= 57343; 5450 return u || o === 0 || o > 1114111 5451 ? ['\uFFFD', t.length + (r ? 1 : 0)] 5452 : [String.fromCodePoint(o), t.length + (r ? 1 : 0)]; 5453 } 5454 } 5455 var Pv = /\\/; 5456 function Dv(i) { 5457 var e = Pv.test(i); 5458 if (!e) return i; 5459 for (var t = '', r = 0; r < i.length; r++) { 5460 if (i[r] === '\\') { 5461 var n = Tv(i.slice(r + 1, r + 7)); 5462 if (n !== void 0) { 5463 (t += n[0]), (r += n[1]); 5464 continue; 5465 } 5466 if (i[r + 1] === '\\') { 5467 (t += '\\'), r++; 5468 continue; 5469 } 5470 i.length === r + 1 && (t += i[r]); 5471 continue; 5472 } 5473 t += i[r]; 5474 } 5475 return t; 5476 } 5477 Ac.exports = Hi.default; 5478 }); 5479 var Oc = v((Qi, _c) => { 5480 l(); 5481 ('use strict'); 5482 Qi.__esModule = !0; 5483 Qi.default = Iv; 5484 function Iv(i) { 5485 for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++) t[r - 1] = arguments[r]; 5486 for (; t.length > 0; ) { 5487 var n = t.shift(); 5488 if (!i[n]) return; 5489 i = i[n]; 5490 } 5491 return i; 5492 } 5493 _c.exports = Qi.default; 5494 }); 5495 var Tc = v((Ji, Ec) => { 5496 l(); 5497 ('use strict'); 5498 Ji.__esModule = !0; 5499 Ji.default = qv; 5500 function qv(i) { 5501 for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++) t[r - 1] = arguments[r]; 5502 for (; t.length > 0; ) { 5503 var n = t.shift(); 5504 i[n] || (i[n] = {}), (i = i[n]); 5505 } 5506 } 5507 Ec.exports = Ji.default; 5508 }); 5509 var Dc = v((Xi, Pc) => { 5510 l(); 5511 ('use strict'); 5512 Xi.__esModule = !0; 5513 Xi.default = Rv; 5514 function Rv(i) { 5515 for (var e = '', t = i.indexOf('/*'), r = 0; t >= 0; ) { 5516 e = e + i.slice(r, t); 5517 var n = i.indexOf('*/', t + 2); 5518 if (n < 0) return e; 5519 (r = n + 2), (t = i.indexOf('/*', r)); 5520 } 5521 return (e = e + i.slice(r)), e; 5522 } 5523 Pc.exports = Xi.default; 5524 }); 5525 var Ar = v((qe) => { 5526 l(); 5527 ('use strict');
5528 qe.__esModule = !0; 5529 qe.unesc = qe.stripComments = qe.getProp = qe.ensureObject = void 0; 5530 var Mv = Ki(Yi()); 5531 qe.unesc = Mv.default; 5532 var Bv = Ki(Oc()); 5533 qe.getProp = Bv.default; 5534 var Fv = Ki(Tc()); 5535 qe.ensureObject = Fv.default; 5536 var Nv = Ki(Dc()); 5537 qe.stripComments = Nv.default; 5538 function Ki(i) { 5539 return i && i.__esModule ? i : { default: i }; 5540 } 5541 }); 5542 var Ue = v((_r, Rc) => { 5543 l(); 5544 ('use strict'); 5545 _r.__esModule = !0; 5546 _r.default = void 0; 5547 var Ic = Ar(); 5548 function qc(i, e) { 5549 for (var t = 0; t < e.length; t++) { 5550 var r = e[t]; 5551 (r.enumerable = r.enumerable || !1), 5552 (r.configurable = !0), 5553 'value' in r && (r.writable = !0), 5554 Object.defineProperty(i, r.key, r); 5555 } 5556 } 5557 function Lv(i, e, t) { 5558 return e && qc(i.prototype, e), t && qc(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 5559 } 5560 var $v = function i(e, t) { 5561 if (typeof e != 'object' || e === null) return e; 5562 var r = new e.constructor(); 5563 for (var n in e) 5564 if (!!e.hasOwnProperty(n)) { 5565 var a = e[n], 5566 s = typeof a; 5567 n === 'parent' && s === 'object' 5568 ? t && (r[n] = t) 5569 : a instanceof Array 5570 ? (r[n] = a.map(function (o) { 5571 return i(o, r); 5572 })) 5573 : (r[n] = i(a, r)); 5574 } 5575 return r; 5576 }, 5577 jv = (function () { 5578 function i(t) { 5579 t === void 0 && (t = {}), 5580 Object.assign(this, t), 5581 (this.spaces = this.spaces || {}), 5582 (this.spaces.before = this.spaces.before || ''), 5583 (this.spaces.after = this.spaces.after || ''); 5584 } 5585 var e = i.prototype; 5586 return ( 5587 (e.remove = function () { 5588 return this.parent && this.parent.removeChild(this), (this.parent = void 0), this; 5589 }), 5590 (e.replaceWith = function () { 5591 if (this.parent) { 5592 for (var r in arguments) this.parent.insertBefore(this, arguments[r]); 5593 this.remove(); 5594 } 5595 return this; 5596 }), 5597 (e.next = function () { 5598 return this.parent.at(this.parent.index(this) + 1); 5599 }), 5600 (e.prev = function () { 5601 return this.parent.at(this.parent.index(this) - 1); 5602 }), 5603 (e.clone = function (r) { 5604 r === void 0 && (r = {}); 5605 var n = $v(this); 5606 for (var a in r) n[a] = r[a]; 5607 return n; 5608 }), 5609 (e.appendToPropertyAndEscape = function (r, n, a) { 5610 this.raws || (this.raws = {}); 5611 var s = this[r], 5612 o = this.raws[r]; 5613 (this[r] = s + n), o || a !== n ? (this.raws[r] = (o || s) + a) : delete this.raws[r]; 5614 }), 5615 (e.setPropertyAndEscape = function (r, n, a) { 5616 this.raws || (this.raws = {}), (this[r] = n), (this.raws[r] = a); 5617 }), 5618 (e.setPropertyWithoutEscape = function (r, n) { 5619 (this[r] = n), this.raws && delete this.raws[r]; 5620 }), 5621 (e.isAtPosition = function (r, n) { 5622 if (this.source && this.source.start && this.source.end) 5623 return !( 5624 this.source.start.line > r || 5625 this.source.end.line < r || 5626 (this.source.start.line === r && this.source.start.column > n) || 5627 (this.source.end.line === r && this.source.end.column < n) 5628 ); 5629 }), 5630 (e.stringifyProperty = function (r) { 5631 return (this.raws && this.raws[r]) || this[r]; 5632 }), 5633 (e.valueToString = function () { 5634 return String(this.stringifyProperty('value')); 5635 }), 5636 (e.toString = function () { 5637 return [this.rawSpaceBefore, this.valueToString(), this.rawSpaceAfter].join(''); 5638 }), 5639 Lv(i, [ 5640 { 5641 key: 'rawSpaceBefore', 5642 get: function () { 5643 var r = this.raws && this.raws.spaces && this.raws.spaces.before; 5644 return r === void 0 && (r = this.spaces && this.spaces.before), r || ''; 5645 }, 5646 set: function (r) { 5647 (0, Ic.ensureObject)(this, 'raws', 'spaces'), (this.raws.spaces.before = r); 5648 }, 5649 }, 5650 { 5651 key: 'rawSpaceAfter', 5652 get: function () { 5653 var r = this.raws && this.raws.spaces && this.raws.spaces.after; 5654 return r === void 0 && (r = this.spaces.after), r || ''; 5655 }, 5656 set: function (r) { 5657 (0, Ic.ensureObject)(this, 'raws', 'spaces'), (this.raws.spaces.after = r); 5658 }, 5659 }, 5660 ]), 5661 i 5662 ); 5663 })(); 5664 _r.default = jv; 5665 Rc.exports = _r.default; 5666 }); 5667 var se = v((G) => { 5668 l(); 5669 ('use strict'); 5670 G.__esModule = !0; 5671 G.UNIVERSAL = 5672 G.TAG = 5673 G.STRING = 5674 G.SELECTOR = 5675 G.ROOT = 5676 G.PSEUDO = 5677 G.NESTING = 5678 G.ID = 5679 G.COMMENT = 5680 G.COMBINATOR = 5681 G.CLASS = 5682 G.ATTRIBUTE = 5683 void 0; 5684 var zv = 'tag'; 5685 G.TAG = zv; 5686 var Vv = 'string'; 5687 G.STRING = Vv; 5688 var Uv = 'selector';
5689 G.SELECTOR = Uv; 5690 var Wv = 'root'; 5691 G.ROOT = Wv; 5692 var Gv = 'pseudo'; 5693 G.PSEUDO = Gv; 5694 var Hv = 'nesting'; 5695 G.NESTING = Hv; 5696 var Yv = 'id'; 5697 G.ID = Yv; 5698 var Qv = 'comment'; 5699 G.COMMENT = Qv; 5700 var Jv = 'combinator'; 5701 G.COMBINATOR = Jv; 5702 var Xv = 'class'; 5703 G.CLASS = Xv; 5704 var Kv = 'attribute'; 5705 G.ATTRIBUTE = Kv; 5706 var Zv = 'universal'; 5707 G.UNIVERSAL = Zv; 5708 }); 5709 var Zi = v((Or, Nc) => { 5710 l(); 5711 ('use strict'); 5712 Or.__esModule = !0; 5713 Or.default = void 0; 5714 var ex = rx(Ue()), 5715 We = tx(se()); 5716 function Mc(i) { 5717 if (typeof WeakMap != 'function') return null; 5718 var e = new WeakMap(), 5719 t = new WeakMap(); 5720 return (Mc = function (n) { 5721 return n ? t : e; 5722 })(i); 5723 } 5724 function tx(i, e) { 5725 if (!e && i && i.__esModule) return i; 5726 if (i === null || (typeof i != 'object' && typeof i != 'function')) return { default: i }; 5727 var t = Mc(e); 5728 if (t && t.has(i)) return t.get(i); 5729 var r = {}, 5730 n = Object.defineProperty && Object.getOwnPropertyDescriptor; 5731 for (var a in i) 5732 if (a !== 'default' && Object.prototype.hasOwnProperty.call(i, a)) { 5733 var s = n ? Object.getOwnPropertyDescriptor(i, a) : null; 5734 s && (s.get || s.set) ? Object.defineProperty(r, a, s) : (r[a] = i[a]); 5735 } 5736 return (r.default = i), t && t.set(i, r), r; 5737 } 5738 function rx(i) { 5739 return i && i.__esModule ? i : { default: i }; 5740 } 5741 function ix(i, e) { 5742 var t = (typeof Symbol != 'undefined' && i[Symbol.iterator]) || i['@@iterator']; 5743 if (t) return (t = t.call(i)).next.bind(t); 5744 if (Array.isArray(i) || (t = nx(i)) || (e && i && typeof i.length == 'number')) { 5745 t && (i = t); 5746 var r = 0; 5747 return function () { 5748 return r >= i.length ? { done: !0 } : { done: !1, value: i[r++] }; 5749 }; 5750 } 5751 throw new TypeError(`Invalid attempt to iterate non-iterable instance. 5752In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); 5753 } 5754 function nx(i, e) { 5755 if (!!i) { 5756 if (typeof i == 'string') return Bc(i, e); 5757 var t = Object.prototype.toString.call(i).slice(8, -1); 5758 if ((t === 'Object' && i.constructor && (t = i.constructor.name), t === 'Map' || t === 'Set')) 5759 return Array.from(i); 5760 if (t === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Bc(i, e); 5761 } 5762 } 5763 function Bc(i, e) { 5764 (e == null || e > i.length) && (e = i.length); 5765 for (var t = 0, r = new Array(e); t < e; t++) r[t] = i[t]; 5766 return r; 5767 } 5768 function Fc(i, e) { 5769 for (var t = 0; t < e.length; t++) { 5770 var r = e[t]; 5771 (r.enumerable = r.enumerable || !1), 5772 (r.configurable = !0), 5773 'value' in r && (r.writable = !0), 5774 Object.defineProperty(i, r.key, r); 5775 } 5776 } 5777 function sx(i, e, t) { 5778 return e && Fc(i.prototype, e), t && Fc(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 5779 } 5780 function ax(i, e) { 5781 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), $s(i, e); 5782 } 5783 function $s(i, e) { 5784 return ( 5785 ($s = Object.setPrototypeOf 5786 ? Object.setPrototypeOf.bind() 5787 : function (r, n) { 5788 return (r.__proto__ = n), r; 5789 }), 5790 $s(i, e) 5791 ); 5792 } 5793 var ox = (function (i) { 5794 ax(e, i); 5795 function e(r) { 5796 var n; 5797 return (n = i.call(this, r) || this), n.nodes || (n.nodes = []), n; 5798 } 5799 var t = e.prototype; 5800 return ( 5801 (t.append = function (n) { 5802 return (n.parent = this), this.nodes.push(n), this; 5803 }), 5804 (t.prepend = function (n) { 5805 return (n.parent = this), this.nodes.unshift(n), this; 5806 }), 5807 (t.at = function (n) { 5808 return this.nodes[n]; 5809 }), 5810 (t.index = function (n) { 5811 return typeof n == 'number' ? n : this.nodes.indexOf(n); 5812 }), 5813 (t.removeChild = function (n) { 5814 (n = this.index(n)), (this.at(n).parent = void 0), this.nodes.splice(n, 1); 5815 var a; 5816 for (var s in this.indexes) (a = this.indexes[s]), a >= n && (this.indexes[s] = a - 1); 5817 return this; 5818 }), 5819 (t.removeAll = function () { 5820 for (var n = ix(this.nodes), a; !(a = n()).done; ) { 5821 var s = a.value; 5822 s.parent = void 0; 5823 } 5824 return (this.nodes = []), this; 5825 }), 5826 (t.empty = function () { 5827 return this.removeAll(); 5828 }), 5829 (t.insertAfter = function (n, a) { 5830 a.parent = this; 5831 var s = this.index(n); 5832 this.nodes.splice(s + 1, 0, a), (a.parent = this); 5833 var o; 5834 for (var u in this.indexes) (o = this.indexes[u]), s <= o && (this.indexes[u] = o + 1); 5835 return this; 5836 }), 5837 (t.insertBefore = function (n, a) { 5838 a.parent = this; 5839 var s = this.index(n); 5840 this.nodes.splice(s, 0, a), (a.parent = this); 5841 var o; 5842 for (var u in this.indexes) (o = this.indexes[u]), o <= s && (this.indexes[u] = o + 1); 5843 return this; 5844 }), 5845 (t._findChildAtPosition = function (n, a) { 5846 var s = void 0; 5847 return ( 5848 this.each(function (o) { 5849 if (o.atPosition) { 5850 var u = o.atPosition(n, a); 5851 if (u) return (s = u), !1; 5852 } else if (o.isAtPosition(n, a)) return (s = o), !1; 5853 }), 5854 s 5855 ); 5856 }), 5857 (t.atPosition = function (n, a) {
5858 if (this.isAtPosition(n, a)) return this._findChildAtPosition(n, a) || this; 5859 }), 5860 (t._inferEndPosition = function () { 5861 this.last && 5862 this.last.source && 5863 this.last.source.end && 5864 ((this.source = this.source || {}), 5865 (this.source.end = this.source.end || {}), 5866 Object.assign(this.source.end, this.last.source.end)); 5867 }), 5868 (t.each = function (n) { 5869 this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach++; 5870 var a = this.lastEach; 5871 if (((this.indexes[a] = 0), !!this.length)) { 5872 for ( 5873 var s, o; 5874 this.indexes[a] < this.length && ((s = this.indexes[a]), (o = n(this.at(s), s)), o !== !1); 5875 5876 ) 5877 this.indexes[a] += 1; 5878 if ((delete this.indexes[a], o === !1)) return !1; 5879 } 5880 }), 5881 (t.walk = function (n) { 5882 return this.each(function (a, s) { 5883 var o = n(a, s); 5884 if ((o !== !1 && a.length && (o = a.walk(n)), o === !1)) return !1; 5885 }); 5886 }), 5887 (t.walkAttributes = function (n) { 5888 var a = this; 5889 return this.walk(function (s) { 5890 if (s.type === We.ATTRIBUTE) return n.call(a, s); 5891 }); 5892 }), 5893 (t.walkClasses = function (n) { 5894 var a = this; 5895 return this.walk(function (s) { 5896 if (s.type === We.CLASS) return n.call(a, s); 5897 }); 5898 }), 5899 (t.walkCombinators = function (n) { 5900 var a = this; 5901 return this.walk(function (s) { 5902 if (s.type === We.COMBINATOR) return n.call(a, s); 5903 }); 5904 }), 5905 (t.walkComments = function (n) { 5906 var a = this; 5907 return this.walk(function (s) { 5908 if (s.type === We.COMMENT) return n.call(a, s); 5909 }); 5910 }), 5911 (t.walkIds = function (n) { 5912 var a = this; 5913 return this.walk(function (s) { 5914 if (s.type === We.ID) return n.call(a, s); 5915 }); 5916 }), 5917 (t.walkNesting = function (n) { 5918 var a = this; 5919 return this.walk(function (s) { 5920 if (s.type === We.NESTING) return n.call(a, s); 5921 }); 5922 }), 5923 (t.walkPseudos = function (n) { 5924 var a = this; 5925 return this.walk(function (s) { 5926 if (s.type === We.PSEUDO) return n.call(a, s); 5927 }); 5928 }), 5929 (t.walkTags = function (n) { 5930 var a = this; 5931 return this.walk(function (s) { 5932 if (s.type === We.TAG) return n.call(a, s); 5933 }); 5934 }), 5935 (t.walkUniversals = function (n) { 5936 var a = this; 5937 return this.walk(function (s) { 5938 if (s.type === We.UNIVERSAL) return n.call(a, s); 5939 }); 5940 }), 5941 (t.split = function (n) { 5942 var a = this, 5943 s = []; 5944 return this.reduce(function (o, u, c) { 5945 var f = n.call(a, u); 5946 return s.push(u), f ? (o.push(s), (s = [])) : c === a.length - 1 && o.push(s), o; 5947 }, []); 5948 }), 5949 (t.map = function (n) { 5950 return this.nodes.map(n); 5951 }), 5952 (t.reduce = function (n, a) { 5953 return this.nodes.reduce(n, a); 5954 }), 5955 (t.every = function (n) { 5956 return this.nodes.every(n); 5957 }), 5958 (t.some = function (n) { 5959 return this.nodes.some(n); 5960 }), 5961 (t.filter = function (n) { 5962 return this.nodes.filter(n); 5963 }), 5964 (t.sort = function (n) { 5965 return this.nodes.sort(n); 5966 }), 5967 (t.toString = function () { 5968 return this.map(String).join(''); 5969 }), 5970 sx(e, [ 5971 { 5972 key: 'first', 5973 get: function () { 5974 return this.at(0); 5975 }, 5976 }, 5977 { 5978 key: 'last', 5979 get: function () { 5980 return this.at(this.length - 1); 5981 }, 5982 }, 5983 { 5984 key: 'length', 5985 get: function () { 5986 return this.nodes.length; 5987 }, 5988 }, 5989 ]), 5990 e 5991 ); 5992 })(ex.default); 5993 Or.default = ox; 5994 Nc.exports = Or.default; 5995 }); 5996 var zs = v((Er, $c) => { 5997 l(); 5998 ('use strict'); 5999 Er.__esModule = !0; 6000 Er.default = void 0; 6001 var lx = fx(Zi()), 6002 ux = se(); 6003 function fx(i) { 6004 return i && i.__esModule ? i : { default: i }; 6005 } 6006 function Lc(i, e) { 6007 for (var t = 0; t < e.length; t++) { 6008 var r = e[t]; 6009 (r.enumerable = r.enumerable || !1), 6010 (r.configurable = !0), 6011 'value' in r && (r.writable = !0),
6012 Object.defineProperty(i, r.key, r); 6013 } 6014 } 6015 function cx(i, e, t) { 6016 return e && Lc(i.prototype, e), t && Lc(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 6017 } 6018 function px(i, e) { 6019 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), js(i, e); 6020 } 6021 function js(i, e) { 6022 return ( 6023 (js = Object.setPrototypeOf 6024 ? Object.setPrototypeOf.bind() 6025 : function (r, n) { 6026 return (r.__proto__ = n), r; 6027 }), 6028 js(i, e) 6029 ); 6030 } 6031 var dx = (function (i) { 6032 px(e, i); 6033 function e(r) { 6034 var n; 6035 return (n = i.call(this, r) || this), (n.type = ux.ROOT), n; 6036 } 6037 var t = e.prototype; 6038 return ( 6039 (t.toString = function () { 6040 var n = this.reduce(function (a, s) { 6041 return a.push(String(s)), a; 6042 }, []).join(','); 6043 return this.trailingComma ? n + ',' : n; 6044 }), 6045 (t.error = function (n, a) { 6046 return this._error ? this._error(n, a) : new Error(n); 6047 }), 6048 cx(e, [ 6049 { 6050 key: 'errorGenerator', 6051 set: function (n) { 6052 this._error = n; 6053 }, 6054 }, 6055 ]), 6056 e 6057 ); 6058 })(lx.default); 6059 Er.default = dx; 6060 $c.exports = Er.default; 6061 }); 6062 var Us = v((Tr, jc) => { 6063 l(); 6064 ('use strict'); 6065 Tr.__esModule = !0; 6066 Tr.default = void 0; 6067 var hx = gx(Zi()), 6068 mx = se(); 6069 function gx(i) { 6070 return i && i.__esModule ? i : { default: i }; 6071 } 6072 function yx(i, e) { 6073 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), Vs(i, e); 6074 } 6075 function Vs(i, e) { 6076 return ( 6077 (Vs = Object.setPrototypeOf 6078 ? Object.setPrototypeOf.bind() 6079 : function (r, n) { 6080 return (r.__proto__ = n), r; 6081 }), 6082 Vs(i, e) 6083 ); 6084 } 6085 var wx = (function (i) { 6086 yx(e, i); 6087 function e(t) { 6088 var r; 6089 return (r = i.call(this, t) || this), (r.type = mx.SELECTOR), r; 6090 } 6091 return e; 6092 })(hx.default); 6093 Tr.default = wx; 6094 jc.exports = Tr.default; 6095 }); 6096 var en = v((g3, zc) => { 6097 l(); 6098 ('use strict'); 6099 var bx = {}, 6100 vx = bx.hasOwnProperty, 6101 xx = function (e, t) { 6102 if (!e) return t; 6103 var r = {}; 6104 for (var n in t) r[n] = vx.call(e, n) ? e[n] : t[n]; 6105 return r; 6106 }, 6107 kx = /[ -,\.\/:-@\[-\^`\{-~]/, 6108 Sx = /[ -,\.\/:-@\[\]\^`\{-~]/, 6109 Cx = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g, 6110 Ws = function i(e, t) { 6111 (t = xx(t, i.options)), t.quotes != 'single' && t.quotes != 'double' && (t.quotes = 'single'); 6112 for ( 6113 var r = t.quotes == 'double' ? '"' : "'", 6114 n = t.isIdentifier, 6115 a = e.charAt(0), 6116 s = '', 6117 o = 0, 6118 u = e.length; 6119 o < u; 6120 6121 ) { 6122 var c = e.charAt(o++), 6123 f = c.charCodeAt(), 6124 d = void 0; 6125 if (f < 32 || f > 126) { 6126 if (f >= 55296 && f <= 56319 && o < u) { 6127 var p = e.charCodeAt(o++); 6128 (p & 64512) == 56320 ? (f = ((f & 1023) << 10) + (p & 1023) + 65536) : o--; 6129 } 6130 d = '\\' + f.toString(16).toUpperCase() + ' '; 6131 } else 6132 t.escapeEverything 6133 ? kx.test(c) 6134 ? (d = '\\' + c) 6135 : (d = '\\' + f.toString(16).toUpperCase() + ' ') 6136 : /[\t\n\f\r\x0B]/.test(c) 6137 ? (d = '\\' + f.toString(16).toUpperCase() + ' ') 6138 : c == '\\' || (!n && ((c == '"' && r == c) || (c == "'" && r == c))) || (n && Sx.test(c)) 6139 ? (d = '\\' + c) 6140 : (d = c); 6141 s += d; 6142 } 6143 return ( 6144 n && 6145 (/^-[-\d]/.test(s) 6146 ? (s = '\\-' + s.slice(1)) 6147 : /\d/.test(a) && (s = '\\3' + a + ' ' + s.slice(1))), 6148 (s = s.replace(Cx, function (m, w, x) { 6149 return w && w.length % 2 ? m : (w || '') + x; 6150 })), 6151 !n && t.wrap ? r + s + r : s 6152 ); 6153 }; 6154 Ws.options = { 6155 escapeEverything: !1, 6156 isIdentifier: !1, 6157 quotes: 'single', 6158 wrap: !1, 6159 }; 6160 Ws.version = '3.0.0'; 6161 zc.exports = Ws; 6162 }); 6163 var Hs = v((Pr, Wc) => { 6164 l(); 6165 ('use strict'); 6166 Pr.__esModule = !0; 6167 Pr.default = void 0; 6168 var Ax = Vc(en()), 6169 _x = Ar(), 6170 Ox = Vc(Ue()), 6171 Ex = se(); 6172 function Vc(i) { 6173 return i && i.__esModule ? i : { default: i }; 6174 } 6175 function Uc(i, e) { 6176 for (var t = 0; t < e.length; t++) { 6177 var r = e[t]; 6178 (r.enumerable = r.enumerable || !1), 6179 (r.configurable = !0), 6180 'value' in r && (r.writable = !0),
6181 Object.defineProperty(i, r.key, r); 6182 } 6183 } 6184 function Tx(i, e, t) { 6185 return e && Uc(i.prototype, e), t && Uc(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 6186 } 6187 function Px(i, e) { 6188 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), Gs(i, e); 6189 } 6190 function Gs(i, e) { 6191 return ( 6192 (Gs = Object.setPrototypeOf 6193 ? Object.setPrototypeOf.bind() 6194 : function (r, n) { 6195 return (r.__proto__ = n), r; 6196 }), 6197 Gs(i, e) 6198 ); 6199 } 6200 var Dx = (function (i) { 6201 Px(e, i); 6202 function e(r) { 6203 var n; 6204 return (n = i.call(this, r) || this), (n.type = Ex.CLASS), (n._constructed = !0), n; 6205 } 6206 var t = e.prototype; 6207 return ( 6208 (t.valueToString = function () { 6209 return '.' + i.prototype.valueToString.call(this); 6210 }), 6211 Tx(e, [ 6212 { 6213 key: 'value', 6214 get: function () { 6215 return this._value; 6216 }, 6217 set: function (n) { 6218 if (this._constructed) { 6219 var a = (0, Ax.default)(n, { isIdentifier: !0 }); 6220 a !== n 6221 ? ((0, _x.ensureObject)(this, 'raws'), (this.raws.value = a)) 6222 : this.raws && delete this.raws.value; 6223 } 6224 this._value = n; 6225 }, 6226 }, 6227 ]), 6228 e 6229 ); 6230 })(Ox.default); 6231 Pr.default = Dx; 6232 Wc.exports = Pr.default; 6233 }); 6234 var Qs = v((Dr, Gc) => { 6235 l(); 6236 ('use strict'); 6237 Dr.__esModule = !0; 6238 Dr.default = void 0; 6239 var Ix = Rx(Ue()), 6240 qx = se(); 6241 function Rx(i) { 6242 return i && i.__esModule ? i : { default: i }; 6243 } 6244 function Mx(i, e) { 6245 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), Ys(i, e); 6246 } 6247 function Ys(i, e) { 6248 return ( 6249 (Ys = Object.setPrototypeOf 6250 ? Object.setPrototypeOf.bind() 6251 : function (r, n) { 6252 return (r.__proto__ = n), r; 6253 }), 6254 Ys(i, e) 6255 ); 6256 } 6257 var Bx = (function (i) { 6258 Mx(e, i); 6259 function e(t) { 6260 var r; 6261 return (r = i.call(this, t) || this), (r.type = qx.COMMENT), r; 6262 } 6263 return e; 6264 })(Ix.default); 6265 Dr.default = Bx; 6266 Gc.exports = Dr.default; 6267 }); 6268 var Xs = v((Ir, Hc) => { 6269 l(); 6270 ('use strict');
6271 Ir.__esModule = !0; 6272 Ir.default = void 0; 6273 var Fx = Lx(Ue()), 6274 Nx = se(); 6275 function Lx(i) { 6276 return i && i.__esModule ? i : { default: i }; 6277 } 6278 function $x(i, e) { 6279 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), Js(i, e); 6280 } 6281 function Js(i, e) { 6282 return ( 6283 (Js = Object.setPrototypeOf 6284 ? Object.setPrototypeOf.bind() 6285 : function (r, n) { 6286 return (r.__proto__ = n), r; 6287 }), 6288 Js(i, e) 6289 ); 6290 } 6291 var jx = (function (i) { 6292 $x(e, i); 6293 function e(r) { 6294 var n; 6295 return (n = i.call(this, r) || this), (n.type = Nx.ID), n; 6296 } 6297 var t = e.prototype; 6298 return ( 6299 (t.valueToString = function () { 6300 return '#' + i.prototype.valueToString.call(this); 6301 }), 6302 e 6303 ); 6304 })(Fx.default); 6305 Ir.default = jx; 6306 Hc.exports = Ir.default; 6307 }); 6308 var tn = v((qr, Jc) => { 6309 l(); 6310 ('use strict'); 6311 qr.__esModule = !0; 6312 qr.default = void 0; 6313 var zx = Yc(en()), 6314 Vx = Ar(), 6315 Ux = Yc(Ue()); 6316 function Yc(i) { 6317 return i && i.__esModule ? i : { default: i }; 6318 } 6319 function Qc(i, e) { 6320 for (var t = 0; t < e.length; t++) { 6321 var r = e[t]; 6322 (r.enumerable = r.enumerable || !1), 6323 (r.configurable = !0), 6324 'value' in r && (r.writable = !0), 6325 Object.defineProperty(i, r.key, r); 6326 } 6327 } 6328 function Wx(i, e, t) { 6329 return e && Qc(i.prototype, e), t && Qc(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 6330 } 6331 function Gx(i, e) { 6332 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), Ks(i, e); 6333 } 6334 function Ks(i, e) { 6335 return ( 6336 (Ks = Object.setPrototypeOf 6337 ? Object.setPrototypeOf.bind() 6338 : function (r, n) { 6339 return (r.__proto__ = n), r; 6340 }), 6341 Ks(i, e) 6342 ); 6343 } 6344 var Hx = (function (i) { 6345 Gx(e, i); 6346 function e() { 6347 return i.apply(this, arguments) || this; 6348 } 6349 var t = e.prototype; 6350 return ( 6351 (t.qualifiedName = function (n) { 6352 return this.namespace ? this.namespaceString + '|' + n : n; 6353 }), 6354 (t.valueToString = function () { 6355 return this.qualifiedName(i.prototype.valueToString.call(this)); 6356 }), 6357 Wx(e, [ 6358 { 6359 key: 'namespace', 6360 get: function () { 6361 return this._namespace; 6362 }, 6363 set: function (n) { 6364 if (n === !0 || n === '*' || n === '&') { 6365 (this._namespace = n), this.raws && delete this.raws.namespace; 6366 return; 6367 } 6368 var a = (0, zx.default)(n, { isIdentifier: !0 }); 6369 (this._namespace = n), 6370 a !== n 6371 ? ((0, Vx.ensureObject)(this, 'raws'), (this.raws.namespace = a)) 6372 : this.raws && delete this.raws.namespace; 6373 }, 6374 }, 6375 { 6376 key: 'ns', 6377 get: function () { 6378 return this._namespace; 6379 }, 6380 set: function (n) { 6381 this.namespace = n; 6382 }, 6383 }, 6384 { 6385 key: 'namespaceString', 6386 get: function () { 6387 if (this.namespace) { 6388 var n = this.stringifyProperty('namespace'); 6389 return n === !0 ? '' : n; 6390 } else return ''; 6391 }, 6392 }, 6393 ]), 6394 e 6395 ); 6396 })(Ux.default); 6397 qr.default = Hx; 6398 Jc.exports = qr.default; 6399 }); 6400 var ea = v((Rr, Xc) => { 6401 l(); 6402 ('use strict'); 6403 Rr.__esModule = !0; 6404 Rr.default = void 0; 6405 var Yx = Jx(tn()), 6406 Qx = se(); 6407 function Jx(i) { 6408 return i && i.__esModule ? i : { default: i }; 6409 } 6410 function Xx(i, e) { 6411 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), Zs(i, e); 6412 } 6413 function Zs(i, e) { 6414 return ( 6415 (Zs = Object.setPrototypeOf 6416 ? Object.setPrototypeOf.bind() 6417 : function (r, n) { 6418 return (r.__proto__ = n), r; 6419 }), 6420 Zs(i, e) 6421 ); 6422 } 6423 var Kx = (function (i) { 6424 Xx(e, i); 6425 function e(t) { 6426 var r; 6427 return (r = i.call(this, t) || this), (r.type = Qx.TAG), r; 6428 } 6429 return e; 6430 })(Yx.default); 6431 Rr.default = Kx; 6432 Xc.exports = Rr.default; 6433 }); 6434 var ra = v((Mr, Kc) => { 6435 l(); 6436 ('use strict');
6437 Mr.__esModule = !0; 6438 Mr.default = void 0; 6439 var Zx = t1(Ue()), 6440 e1 = se(); 6441 function t1(i) { 6442 return i && i.__esModule ? i : { default: i }; 6443 } 6444 function r1(i, e) { 6445 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), ta(i, e); 6446 } 6447 function ta(i, e) { 6448 return ( 6449 (ta = Object.setPrototypeOf 6450 ? Object.setPrototypeOf.bind() 6451 : function (r, n) { 6452 return (r.__proto__ = n), r; 6453 }), 6454 ta(i, e) 6455 ); 6456 } 6457 var i1 = (function (i) { 6458 r1(e, i); 6459 function e(t) { 6460 var r; 6461 return (r = i.call(this, t) || this), (r.type = e1.STRING), r; 6462 } 6463 return e; 6464 })(Zx.default); 6465 Mr.default = i1; 6466 Kc.exports = Mr.default; 6467 }); 6468 var na = v((Br, Zc) => { 6469 l(); 6470 ('use strict'); 6471 Br.__esModule = !0; 6472 Br.default = void 0; 6473 var n1 = a1(Zi()), 6474 s1 = se(); 6475 function a1(i) { 6476 return i && i.__esModule ? i : { default: i }; 6477 } 6478 function o1(i, e) { 6479 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), ia(i, e); 6480 } 6481 function ia(i, e) { 6482 return ( 6483 (ia = Object.setPrototypeOf 6484 ? Object.setPrototypeOf.bind() 6485 : function (r, n) { 6486 return (r.__proto__ = n), r; 6487 }), 6488 ia(i, e) 6489 ); 6490 } 6491 var l1 = (function (i) { 6492 o1(e, i); 6493 function e(r) { 6494 var n; 6495 return (n = i.call(this, r) || this), (n.type = s1.PSEUDO), n; 6496 } 6497 var t = e.prototype; 6498 return ( 6499 (t.toString = function () { 6500 var n = this.length ? '(' + this.map(String).join(',') + ')' : ''; 6501 return [this.rawSpaceBefore, this.stringifyProperty('value'), n, this.rawSpaceAfter].join(''); 6502 }), 6503 e 6504 ); 6505 })(n1.default); 6506 Br.default = l1; 6507 Zc.exports = Br.default; 6508 }); 6509 var ep = {}; 6510 Ae(ep, { deprecate: () => u1 }); 6511 function u1(i) { 6512 return i; 6513 } 6514 var tp = C(() => { 6515 l(); 6516 }); 6517 var ip = v((y3, rp) => { 6518 l(); 6519 rp.exports = (tp(), ep).deprecate; 6520 }); 6521 var fa = v((Lr) => { 6522 l(); 6523 ('use strict'); 6524 Lr.__esModule = !0; 6525 Lr.default = void 0; 6526 Lr.unescapeValue = la; 6527 var Fr = aa(en()), 6528 f1 = aa(Yi()), 6529 c1 = aa(tn()), 6530 p1 = se(), 6531 sa; 6532 function aa(i) { 6533 return i && i.__esModule ? i : { default: i }; 6534 } 6535 function np(i, e) { 6536 for (var t = 0; t < e.length; t++) { 6537 var r = e[t]; 6538 (r.enumerable = r.enumerable || !1), 6539 (r.configurable = !0), 6540 'value' in r && (r.writable = !0), 6541 Object.defineProperty(i, r.key, r); 6542 } 6543 } 6544 function d1(i, e, t) { 6545 return e && np(i.prototype, e), t && np(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 6546 } 6547 function h1(i, e) { 6548 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), oa(i, e); 6549 } 6550 function oa(i, e) { 6551 return ( 6552 (oa = Object.setPrototypeOf 6553 ? Object.setPrototypeOf.bind() 6554 : function (r, n) { 6555 return (r.__proto__ = n), r; 6556 }), 6557 oa(i, e) 6558 ); 6559 } 6560 var Nr = ip(), 6561 m1 = /^('|")([^]*)\1$/, 6562 g1 = Nr(function () {}, 6563 'Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead.'), 6564 y1 = Nr(function () {}, 6565 'Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.'), 6566 w1 = Nr(function () {}, 6567 'Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.'); 6568 function la(i) { 6569 var e = !1, 6570 t = null, 6571 r = i, 6572 n = r.match(m1); 6573 return ( 6574 n && ((t = n[1]), (r = n[2])), 6575 (r = (0, f1.default)(r)), 6576 r !== i && (e = !0), 6577 { deprecatedUsage: e, unescaped: r, quoteMark: t } 6578 ); 6579 } 6580 function b1(i) { 6581 if (i.quoteMark !== void 0 || i.value === void 0) return i; 6582 w1(); 6583 var e = la(i.value), 6584 t = e.quoteMark, 6585 r = e.unescaped; 6586 return ( 6587 i.raws || (i.raws = {}), 6588 i.raws.value === void 0 && (i.raws.value = i.value), 6589 (i.value = r), 6590 (i.quoteMark = t), 6591 i 6592 ); 6593 } 6594 var rn = (function (i) { 6595 h1(e, i); 6596 function e(r) { 6597 var n; 6598 return ( 6599 r === void 0 && (r = {}), 6600 (n = i.call(this, b1(r)) || this), 6601 (n.type = p1.ATTRIBUTE), 6602 (n.raws = n.raws || {}), 6603 Object.defineProperty(n.raws, 'unquoted', { 6604 get: Nr(function () { 6605 return n.value; 6606 }, 'attr.raws.unquoted is deprecated. Call attr.value instead.'), 6607 set: Nr(function () { 6608 return n.value; 6609 }, 'Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.'), 6610 }), 6611 (n._constructed = !0), 6612 n 6613 ); 6614 } 6615 var t = e.prototype; 6616 return ( 6617 (t.getQuotedValue = function (n) { 6618 n === void 0 && (n = {}); 6619 var a = this._determineQuoteMark(n), 6620 s = ua[a], 6621 o = (0, Fr.default)(this._value, s); 6622 return o; 6623 }), 6624 (t._determineQuoteMark = function (n) { 6625 return n.smart ? this.smartQuoteMark(n) : this.preferredQuoteMark(n); 6626 }), 6627 (t.setValue = function (n, a) { 6628 a === void 0 && (a = {}), 6629 (this._value = n), 6630 (this._quoteMark = this._determineQuoteMark(a)), 6631 this._syncRawValue(); 6632 }), 6633 (t.smartQuoteMark = function (n) { 6634 var a = this.value, 6635 s = a.replace(/[^']/g, '').length, 6636 o = a.replace(/[^"]/g, '').length; 6637 if (s + o === 0) { 6638 var u = (0, Fr.default)(a, { isIdentifier: !0 }); 6639 if (u === a) return e.NO_QUOTE; 6640 var c = this.preferredQuoteMark(n); 6641 if (c === e.NO_QUOTE) { 6642 var f = this.quoteMark || n.quoteMark || e.DOUBLE_QUOTE, 6643 d = ua[f], 6644 p = (0, Fr.default)(a, d); 6645 if (p.length < u.length) return f; 6646 } 6647 return c; 6648 } else return o === s ? this.preferredQuoteMark(n) : o < s ? e.DOUBLE_QUOTE : e.SINGLE_QUOTE; 6649 }), 6650 (t.preferredQuoteMark = function (n) { 6651 var a = n.preferCurrentQuoteMark ? this.quoteMark : n.quoteMark; 6652 return ( 6653 a === void 0 && (a = n.preferCurrentQuoteMark ? n.quoteMark : this.quoteMark), 6654 a === void 0 && (a = e.DOUBLE_QUOTE), 6655 a 6656 ); 6657 }), 6658 (t._syncRawValue = function () { 6659 var n = (0, Fr.default)(this._value, ua[this.quoteMark]); 6660 n === this._value ? this.raws && delete this.raws.value : (this.raws.value = n); 6661 }), 6662 (t._handleEscapes = function (n, a) { 6663 if (this._constructed) { 6664 var s = (0, Fr.default)(a, { isIdentifier: !0 }); 6665 s !== a ? (this.raws[n] = s) : delete this.raws[n]; 6666 } 6667 }), 6668 (t._spacesFor = function (n) { 6669 var a = { before: '', after: '' }, 6670 s = this.spaces[n] || {}, 6671 o = (this.raws.spaces && this.raws.spaces[n]) || {}; 6672 return Object.assign(a, s, o); 6673 }), 6674 (t._stringFor = function (n, a, s) { 6675 a === void 0 && (a = n), s === void 0 && (s = sp); 6676 var o = this._spacesFor(a); 6677 return s(this.stringifyProperty(n), o); 6678 }), 6679 (t.offsetOf = function (n) { 6680 var a = 1, 6681 s = this._spacesFor('attribute'); 6682 if (((a += s.before.length), n === 'namespace' || n === 'ns')) return this.namespace ? a : -1; 6683 if ( 6684 n === 'attributeNS' || 6685 ((a += this.namespaceString.length), this.namespace && (a += 1), n === 'attribute') 6686 ) 6687 return a; 6688 (a += this.stringifyProperty('attribute').length), (a += s.after.length); 6689 var o = this._spacesFor('operator'); 6690 a += o.before.length; 6691 var u = this.stringifyProperty('operator'); 6692 if (n === 'operator') return u ? a : -1; 6693 (a += u.length), (a += o.after.length); 6694 var c = this._spacesFor('value'); 6695 a += c.before.length; 6696 var f = this.stringifyProperty('value'); 6697 if (n === 'value') return f ? a : -1; 6698 (a += f.length), (a += c.after.length); 6699 var d = this._spacesFor('insensitive'); 6700 return (a += d.before.length), n === 'insensitive' && this.insensitive ? a : -1; 6701 }), 6702 (t.toString = function () { 6703 var n = this, 6704 a = [this.rawSpaceBefore, '[']; 6705 return ( 6706 a.push(this._stringFor('qualifiedAttribute', 'attribute')), 6707 this.operator && 6708 (this.value || this.value === '') && 6709 (a.push(this._stringFor('operator')), 6710 a.push(this._stringFor('value')), 6711 a.push( 6712 this._stringFor('insensitiveFlag', 'insensitive', function (s, o) { 6713 return ( 6714 s.length > 0 && 6715 !n.quoted && 6716 o.before.length === 0 && 6717 !(n.spaces.value && n.spaces.value.after) && 6718 (o.before = ' '), 6719 sp(s, o) 6720 ); 6721 }), 6722 )), 6723 a.push(']'), 6724 a.push(this.rawSpaceAfter), 6725 a.join('') 6726 ); 6727 }), 6728 d1(e, [ 6729 { 6730 key: 'quoted', 6731 get: function () { 6732 var n = this.quoteMark; 6733 return n === "'" || n === '"'; 6734 }, 6735 set: function (n) { 6736 y1(); 6737 }, 6738 }, 6739 { 6740 key: 'quoteMark', 6741 get: function () { 6742 return this._quoteMark; 6743 }, 6744 set: function (n) { 6745 if (!this._constructed) { 6746 this._quoteMark = n; 6747 return; 6748 } 6749 this._quoteMark !== n && ((this._quoteMark = n), this._syncRawValue()); 6750 }, 6751 }, 6752 { 6753 key: 'qualifiedAttribute', 6754 get: function () {
6755 return this.qualifiedName(this.raws.attribute || this.attribute); 6756 }, 6757 }, 6758 { 6759 key: 'insensitiveFlag', 6760 get: function () { 6761 return this.insensitive ? 'i' : ''; 6762 }, 6763 }, 6764 { 6765 key: 'value', 6766 get: function () { 6767 return this._value; 6768 }, 6769 set: function (n) { 6770 if (this._constructed) { 6771 var a = la(n), 6772 s = a.deprecatedUsage, 6773 o = a.unescaped, 6774 u = a.quoteMark; 6775 if ((s && g1(), o === this._value && u === this._quoteMark)) return; 6776 (this._value = o), (this._quoteMark = u), this._syncRawValue(); 6777 } else this._value = n; 6778 }, 6779 }, 6780 { 6781 key: 'insensitive', 6782 get: function () { 6783 return this._insensitive; 6784 }, 6785 set: function (n) { 6786 n || 6787 ((this._insensitive = !1), 6788 this.raws && 6789 (this.raws.insensitiveFlag === 'I' || this.raws.insensitiveFlag === 'i') && 6790 (this.raws.insensitiveFlag = void 0)), 6791 (this._insensitive = n); 6792 }, 6793 }, 6794 { 6795 key: 'attribute', 6796 get: function () { 6797 return this._attribute; 6798 }, 6799 set: function (n) { 6800 this._handleEscapes('attribute', n), (this._attribute = n); 6801 }, 6802 }, 6803 ]), 6804 e 6805 ); 6806 })(c1.default); 6807 Lr.default = rn; 6808 rn.NO_QUOTE = null; 6809 rn.SINGLE_QUOTE = "'"; 6810 rn.DOUBLE_QUOTE = '"'; 6811 var ua = 6812 ((sa = { 6813 "'": { quotes: 'single', wrap: !0 }, 6814 '"': { quotes: 'double', wrap: !0 }, 6815 }), 6816 (sa[null] = { isIdentifier: !0 }), 6817 sa); 6818 function sp(i, e) { 6819 return '' + e.before + i + e.after; 6820 } 6821 }); 6822 var pa = v(($r, ap) => { 6823 l(); 6824 ('use strict'); 6825 $r.__esModule = !0; 6826 $r.default = void 0; 6827 var v1 = k1(tn()), 6828 x1 = se(); 6829 function k1(i) { 6830 return i && i.__esModule ? i : { default: i }; 6831 } 6832 function S1(i, e) { 6833 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), ca(i, e); 6834 } 6835 function ca(i, e) { 6836 return ( 6837 (ca = Object.setPrototypeOf 6838 ? Object.setPrototypeOf.bind() 6839 : function (r, n) { 6840 return (r.__proto__ = n), r; 6841 }), 6842 ca(i, e) 6843 ); 6844 } 6845 var C1 = (function (i) { 6846 S1(e, i); 6847 function e(t) { 6848 var r; 6849 return (r = i.call(this, t) || this), (r.type = x1.UNIVERSAL), (r.value = '*'), r; 6850 } 6851 return e; 6852 })(v1.default); 6853 $r.default = C1; 6854 ap.exports = $r.default; 6855 }); 6856 var ha = v((jr, op) => { 6857 l(); 6858 ('use strict'); 6859 jr.__esModule = !0; 6860 jr.default = void 0; 6861 var A1 = O1(Ue()), 6862 _1 = se(); 6863 function O1(i) { 6864 return i && i.__esModule ? i : { default: i }; 6865 } 6866 function E1(i, e) { 6867 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), da(i, e); 6868 } 6869 function da(i, e) { 6870 return ( 6871 (da = Object.setPrototypeOf 6872 ? Object.setPrototypeOf.bind() 6873 : function (r, n) { 6874 return (r.__proto__ = n), r; 6875 }), 6876 da(i, e) 6877 ); 6878 } 6879 var T1 = (function (i) { 6880 E1(e, i); 6881 function e(t) { 6882 var r; 6883 return (r = i.call(this, t) || this), (r.type = _1.COMBINATOR), r; 6884 } 6885 return e; 6886 })(A1.default); 6887 jr.default = T1; 6888 op.exports = jr.default; 6889 }); 6890 var ga = v((zr, lp) => { 6891 l(); 6892 ('use strict'); 6893 zr.__esModule = !0; 6894 zr.default = void 0; 6895 var P1 = I1(Ue()), 6896 D1 = se(); 6897 function I1(i) { 6898 return i && i.__esModule ? i : { default: i }; 6899 } 6900 function q1(i, e) { 6901 (i.prototype = Object.create(e.prototype)), (i.prototype.constructor = i), ma(i, e); 6902 } 6903 function ma(i, e) { 6904 return ( 6905 (ma = Object.setPrototypeOf 6906 ? Object.setPrototypeOf.bind() 6907 : function (r, n) { 6908 return (r.__proto__ = n), r; 6909 }), 6910 ma(i, e) 6911 ); 6912 } 6913 var R1 = (function (i) { 6914 q1(e, i); 6915 function e(t) { 6916 var r; 6917 return (r = i.call(this, t) || this), (r.type = D1.NESTING), (r.value = '&'), r; 6918 } 6919 return e; 6920 })(P1.default); 6921 zr.default = R1; 6922 lp.exports = zr.default; 6923 }); 6924 var fp = v((nn, up) => { 6925 l(); 6926 ('use strict'); 6927 nn.__esModule = !0; 6928 nn.default = M1; 6929 function M1(i) { 6930 return i.sort(function (e, t) { 6931 return e - t; 6932 }); 6933 } 6934 up.exports = nn.default; 6935 }); 6936 var ya = v((D) => { 6937 l(); 6938 ('use strict'); 6939 D.__esModule = !0; 6940 D.word = 6941 D.tilde = 6942 D.tab = 6943 D.str = 6944 D.space = 6945 D.slash = 6946 D.singleQuote = 6947 D.semicolon = 6948 D.plus = 6949 D.pipe = 6950 D.openSquare = 6951 D.openParenthesis = 6952 D.newline = 6953 D.greaterThan = 6954 D.feed = 6955 D.equals = 6956 D.doubleQuote = 6957 D.dollar = 6958 D.cr = 6959 D.comment = 6960 D.comma = 6961 D.combinator = 6962 D.colon = 6963 D.closeSquare = 6964 D.closeParenthesis = 6965 D.caret = 6966 D.bang = 6967 D.backslash = 6968 D.at = 6969 D.asterisk = 6970 D.ampersand = 6971 void 0; 6972 var B1 = 38; 6973 D.ampersand = B1; 6974 var F1 = 42; 6975 D.asterisk = F1; 6976 var N1 = 64; 6977 D.at = N1; 6978 var L1 = 44; 6979 D.comma = L1; 6980 var $1 = 58; 6981 D.colon = $1; 6982 var j1 = 59; 6983 D.semicolon = j1; 6984 var z1 = 40; 6985 D.openParenthesis = z1; 6986 var V1 = 41; 6987 D.closeParenthesis = V1; 6988 var U1 = 91; 6989 D.openSquare = U1; 6990 var W1 = 93; 6991 D.closeSquare = W1; 6992 var G1 = 36; 6993 D.dollar = G1; 6994 var H1 = 126; 6995 D.tilde = H1; 6996 var Y1 = 94; 6997 D.caret = Y1; 6998 var Q1 = 43; 6999 D.plus = Q1; 7000 var J1 = 61; 7001 D.equals = J1; 7002 var X1 = 124; 7003 D.pipe = X1; 7004 var K1 = 62; 7005 D.greaterThan = K1; 7006 var Z1 = 32; 7007 D.space = Z1; 7008 var cp = 39; 7009 D.singleQuote = cp; 7010 var ek = 34; 7011 D.doubleQuote = ek; 7012 var tk = 47; 7013 D.slash = tk; 7014 var rk = 33; 7015 D.bang = rk; 7016 var ik = 92; 7017 D.backslash = ik; 7018 var nk = 13; 7019 D.cr = nk; 7020 var sk = 12; 7021 D.feed = sk; 7022 var ak = 10; 7023 D.newline = ak; 7024 var ok = 9; 7025 D.tab = ok; 7026 var lk = cp; 7027 D.str = lk; 7028 var uk = -1; 7029 D.comment = uk; 7030 var fk = -2; 7031 D.word = fk; 7032 var ck = -3; 7033 D.combinator = ck; 7034 }); 7035 var hp = v((Vr) => { 7036 l(); 7037 ('use strict');
7038 Vr.__esModule = !0; 7039 Vr.FIELDS = void 0; 7040 Vr.default = wk; 7041 var E = pk(ya()), 7042 Dt, 7043 U; 7044 function pp(i) { 7045 if (typeof WeakMap != 'function') return null; 7046 var e = new WeakMap(), 7047 t = new WeakMap(); 7048 return (pp = function (n) { 7049 return n ? t : e; 7050 })(i); 7051 } 7052 function pk(i, e) { 7053 if (!e && i && i.__esModule) return i; 7054 if (i === null || (typeof i != 'object' && typeof i != 'function')) return { default: i }; 7055 var t = pp(e); 7056 if (t && t.has(i)) return t.get(i); 7057 var r = {}, 7058 n = Object.defineProperty && Object.getOwnPropertyDescriptor; 7059 for (var a in i) 7060 if (a !== 'default' && Object.prototype.hasOwnProperty.call(i, a)) { 7061 var s = n ? Object.getOwnPropertyDescriptor(i, a) : null; 7062 s && (s.get || s.set) ? Object.defineProperty(r, a, s) : (r[a] = i[a]); 7063 } 7064 return (r.default = i), t && t.set(i, r), r; 7065 } 7066 var dk = ((Dt = {}), (Dt[E.tab] = !0), (Dt[E.newline] = !0), (Dt[E.cr] = !0), (Dt[E.feed] = !0), Dt), 7067 hk = 7068 ((U = {}), 7069 (U[E.space] = !0), 7070 (U[E.tab] = !0), 7071 (U[E.newline] = !0), 7072 (U[E.cr] = !0), 7073 (U[E.feed] = !0), 7074 (U[E.ampersand] = !0), 7075 (U[E.asterisk] = !0), 7076 (U[E.bang] = !0), 7077 (U[E.comma] = !0), 7078 (U[E.colon] = !0), 7079 (U[E.semicolon] = !0), 7080 (U[E.openParenthesis] = !0), 7081 (U[E.closeParenthesis] = !0), 7082 (U[E.openSquare] = !0), 7083 (U[E.closeSquare] = !0), 7084 (U[E.singleQuote] = !0), 7085 (U[E.doubleQuote] = !0), 7086 (U[E.plus] = !0), 7087 (U[E.pipe] = !0), 7088 (U[E.tilde] = !0), 7089 (U[E.greaterThan] = !0), 7090 (U[E.equals] = !0), 7091 (U[E.dollar] = !0), 7092 (U[E.caret] = !0), 7093 (U[E.slash] = !0), 7094 U), 7095 wa = {}, 7096 dp = '0123456789abcdefABCDEF'; 7097 for (sn = 0; sn < dp.length; sn++) wa[dp.charCodeAt(sn)] = !0; 7098 var sn; 7099 function mk(i, e) { 7100 var t = e, 7101 r; 7102 do { 7103 if (((r = i.charCodeAt(t)), hk[r])) return t - 1; 7104 r === E.backslash ? (t = gk(i, t) + 1) : t++; 7105 } while (t < i.length); 7106 return t - 1; 7107 } 7108 function gk(i, e) { 7109 var t = e, 7110 r = i.charCodeAt(t + 1); 7111 if (!dk[r]) 7112 if (wa[r]) { 7113 var n = 0; 7114 do t++, n++, (r = i.charCodeAt(t + 1)); 7115 while (wa[r] && n < 6); 7116 n < 6 && r === E.space && t++; 7117 } else t++; 7118 return t; 7119 } 7120 var yk = { 7121 TYPE: 0, 7122 START_LINE: 1, 7123 START_COL: 2, 7124 END_LINE: 3, 7125 END_COL: 4, 7126 START_POS: 5, 7127 END_POS: 6, 7128 }; 7129 Vr.FIELDS = yk; 7130 function wk(i) { 7131 var e = [], 7132 t = i.css.valueOf(), 7133 r = t, 7134 n = r.length, 7135 a = -1, 7136 s = 1, 7137 o = 0, 7138 u = 0, 7139 c, 7140 f, 7141 d, 7142 p, 7143 m, 7144 w, 7145 x, 7146 y, 7147 b, 7148 k, 7149 S, 7150 _, 7151 O; 7152 function I(B, q) { 7153 if (i.safe) (t += q), (b = t.length - 1); 7154 else throw i.error('Unclosed ' + B, s, o - a, o); 7155 } 7156 for (; o < n; ) { 7157 switch (((c = t.charCodeAt(o)), c === E.newline && ((a = o), (s += 1)), c)) { 7158 case E.space: 7159 case E.tab: 7160 case E.newline: 7161 case E.cr: 7162 case E.feed: 7163 b = o; 7164 do (b += 1), (c = t.charCodeAt(b)), c === E.newline && ((a = b), (s += 1)); 7165 while (c === E.space || c === E.newline || c === E.tab || c === E.cr || c === E.feed); 7166 (O = E.space), (p = s), (d = b - a - 1), (u = b); 7167 break; 7168 case E.plus: 7169 case E.greaterThan: 7170 case E.tilde: 7171 case E.pipe: 7172 b = o; 7173 do (b += 1), (c = t.charCodeAt(b)); 7174 while (c === E.plus || c === E.greaterThan || c === E.tilde || c === E.pipe); 7175 (O = E.combinator), (p = s), (d = o - a), (u = b); 7176 break; 7177 case E.asterisk: 7178 case E.ampersand: 7179 case E.bang: 7180 case E.comma: 7181 case E.equals: 7182 case E.dollar: 7183 case E.caret: 7184 case E.openSquare: 7185 case E.closeSquare: 7186 case E.colon: 7187 case E.semicolon: 7188 case E.openParenthesis: 7189 case E.closeParenthesis: 7190 (b = o), (O = c), (p = s), (d = o - a), (u = b + 1); 7191 break; 7192 case E.singleQuote: 7193 case E.doubleQuote: 7194 (_ = c === E.singleQuote ? "'" : '"'), (b = o); 7195 do 7196 for ( 7197 m = !1, b = t.indexOf(_, b + 1), b === -1 && I('quote', _), w = b; 7198 t.charCodeAt(w - 1) === E.backslash; 7199 7200 ) 7201 (w -= 1), (m = !m); 7202 while (m); 7203 (O = E.str), (p = s), (d = o - a), (u = b + 1); 7204 break; 7205 default: 7206 c === E.slash && t.charCodeAt(o + 1) === E.asterisk 7207 ? ((b = t.indexOf('*/', o + 2) + 1), 7208 b === 0 && I('comment', '*/'), 7209 (f = t.slice(o, b + 1)), 7210 (y = f.split(` 7211`)), 7212 (x = y.length - 1), 7213 x > 0 ? ((k = s + x), (S = b - y[x].length)) : ((k = s), (S = a)), 7214 (O = E.comment), 7215 (s = k), 7216 (p = k), 7217 (d = b - S)) 7218 : c === E.slash 7219 ? ((b = o), (O = c), (p = s), (d = o - a), (u = b + 1)) 7220 : ((b = mk(t, o)), (O = E.word), (p = s), (d = b - a)), 7221 (u = b + 1); 7222 break; 7223 } 7224 e.push([O, s, o - a, p, d, o, u]), S && ((a = S), (S = null)), (o = u); 7225 } 7226 return e; 7227 } 7228 }); 7229 var kp = v((Ur, xp) => { 7230 l(); 7231 ('use strict');
7232 Ur.__esModule = !0; 7233 Ur.default = void 0; 7234 var bk = be(zs()), 7235 ba = be(Us()), 7236 vk = be(Hs()), 7237 mp = be(Qs()), 7238 xk = be(Xs()), 7239 kk = be(ea()), 7240 va = be(ra()), 7241 Sk = be(na()), 7242 gp = an(fa()), 7243 Ck = be(pa()), 7244 xa = be(ha()), 7245 Ak = be(ga()), 7246 _k = be(fp()), 7247 A = an(hp()), 7248 T = an(ya()), 7249 Ok = an(se()), 7250 Q = Ar(), 7251 wt, 7252 ka; 7253 function yp(i) { 7254 if (typeof WeakMap != 'function') return null; 7255 var e = new WeakMap(), 7256 t = new WeakMap(); 7257 return (yp = function (n) { 7258 return n ? t : e; 7259 })(i); 7260 } 7261 function an(i, e) { 7262 if (!e && i && i.__esModule) return i; 7263 if (i === null || (typeof i != 'object' && typeof i != 'function')) return { default: i }; 7264 var t = yp(e); 7265 if (t && t.has(i)) return t.get(i); 7266 var r = {}, 7267 n = Object.defineProperty && Object.getOwnPropertyDescriptor; 7268 for (var a in i) 7269 if (a !== 'default' && Object.prototype.hasOwnProperty.call(i, a)) { 7270 var s = n ? Object.getOwnPropertyDescriptor(i, a) : null; 7271 s && (s.get || s.set) ? Object.defineProperty(r, a, s) : (r[a] = i[a]); 7272 } 7273 return (r.default = i), t && t.set(i, r), r; 7274 } 7275 function be(i) { 7276 return i && i.__esModule ? i : { default: i }; 7277 } 7278 function wp(i, e) { 7279 for (var t = 0; t < e.length; t++) { 7280 var r = e[t]; 7281 (r.enumerable = r.enumerable || !1), 7282 (r.configurable = !0), 7283 'value' in r && (r.writable = !0), 7284 Object.defineProperty(i, r.key, r); 7285 } 7286 } 7287 function Ek(i, e, t) { 7288 return e && wp(i.prototype, e), t && wp(i, t), Object.defineProperty(i, 'prototype', { writable: !1 }), i; 7289 } 7290 var Sa = 7291 ((wt = {}), 7292 (wt[T.space] = !0), 7293 (wt[T.cr] = !0), 7294 (wt[T.feed] = !0), 7295 (wt[T.newline] = !0), 7296 (wt[T.tab] = !0), 7297 wt), 7298 Tk = Object.assign({}, Sa, ((ka = {}), (ka[T.comment] = !0), ka)); 7299 function bp(i) { 7300 return { line: i[A.FIELDS.START_LINE], column: i[A.FIELDS.START_COL] }; 7301 } 7302 function vp(i) { 7303 return { line: i[A.FIELDS.END_LINE], column: i[A.FIELDS.END_COL] }; 7304 } 7305 function bt(i, e, t, r) { 7306 return { start: { line: i, column: e }, end: { line: t, column: r } }; 7307 } 7308 function It(i) { 7309 return bt(i[A.FIELDS.START_LINE], i[A.FIELDS.START_COL], i[A.FIELDS.END_LINE], i[A.FIELDS.END_COL]); 7310 } 7311 function Ca(i, e) { 7312 if (!!i) 7313 return bt(i[A.FIELDS.START_LINE], i[A.FIELDS.START_COL], e[A.FIELDS.END_LINE], e[A.FIELDS.END_COL]); 7314 } 7315 function qt(i, e) { 7316 var t = i[e]; 7317 if (typeof t == 'string') 7318 return ( 7319 t.indexOf('\\') !== -1 && 7320 ((0, Q.ensureObject)(i, 'raws'), 7321 (i[e] = (0, Q.unesc)(t)), 7322 i.raws[e] === void 0 && (i.raws[e] = t)), 7323 i 7324 ); 7325 } 7326 function Aa(i, e) { 7327 for (var t = -1, r = []; (t = i.indexOf(e, t + 1)) !== -1; ) r.push(t); 7328 return r; 7329 } 7330 function Pk() { 7331 var i = Array.prototype.concat.apply([], arguments); 7332 return i.filter(function (e, t) { 7333 return t === i.indexOf(e); 7334 }); 7335 } 7336 var Dk = (function () { 7337 function i(t, r) { 7338 r === void 0 && (r = {}), 7339 (this.rule = t), 7340 (this.options = Object.assign({ lossy: !1, safe: !1 }, r)), 7341 (this.position = 0), 7342 (this.css = typeof this.rule == 'string' ? this.rule : this.rule.selector), 7343 (this.tokens = (0, A.default)({ 7344 css: this.css, 7345 error: this._errorGenerator(), 7346 safe: this.options.safe, 7347 })); 7348 var n = Ca(this.tokens[0], this.tokens[this.tokens.length - 1]); 7349 (this.root = new bk.default({ source: n })), (this.root.errorGenerator = this._errorGenerator()); 7350 var a = new ba.default({ source: { start: { line: 1, column: 1 } } }); 7351 this.root.append(a), (this.current = a), this.loop(); 7352 } 7353 var e = i.prototype; 7354 return ( 7355 (e._errorGenerator = function () { 7356 var r = this; 7357 return function (n, a) { 7358 return typeof r.rule == 'string' ? new Error(n) : r.rule.error(n, a); 7359 }; 7360 }), 7361 (e.attribute = function () { 7362 var r = [], 7363 n = this.currToken; 7364 for ( 7365 this.position++; 7366 this.position < this.tokens.length && this.currToken[A.FIELDS.TYPE] !== T.closeSquare; 7367 7368 ) 7369 r.push(this.currToken), this.position++; 7370 if (this.currToken[A.FIELDS.TYPE] !== T.closeSquare) 7371 return this.expected('closing square bracket', this.currToken[A.FIELDS.START_POS]); 7372 var a = r.length, 7373 s = { 7374 source: bt(n[1], n[2], this.currToken[3], this.currToken[4]), 7375 sourceIndex: n[A.FIELDS.START_POS], 7376 }; 7377 if (a === 1 && !~[T.word].indexOf(r[0][A.FIELDS.TYPE])) 7378 return this.expected('attribute', r[0][A.FIELDS.START_POS]); 7379 for (var o = 0, u = '', c = '', f = null, d = !1; o < a; ) { 7380 var p = r[o], 7381 m = this.content(p), 7382 w = r[o + 1]; 7383 switch (p[A.FIELDS.TYPE]) { 7384 case T.space: 7385 if (((d = !0), this.options.lossy)) break; 7386 if (f) { 7387 (0, Q.ensureObject)(s, 'spaces', f);
7388 var x = s.spaces[f].after || ''; 7389 s.spaces[f].after = x + m; 7390 var y = (0, Q.getProp)(s, 'raws', 'spaces', f, 'after') || null; 7391 y && (s.raws.spaces[f].after = y + m); 7392 } else (u = u + m), (c = c + m); 7393 break; 7394 case T.asterisk: 7395 if (w[A.FIELDS.TYPE] === T.equals) (s.operator = m), (f = 'operator'); 7396 else if ((!s.namespace || (f === 'namespace' && !d)) && w) { 7397 u && 7398 ((0, Q.ensureObject)(s, 'spaces', 'attribute'), 7399 (s.spaces.attribute.before = u), 7400 (u = '')), 7401 c && 7402 ((0, Q.ensureObject)(s, 'raws', 'spaces', 'attribute'), 7403 (s.raws.spaces.attribute.before = u), 7404 (c = '')), 7405 (s.namespace = (s.namespace || '') + m); 7406 var b = (0, Q.getProp)(s, 'raws', 'namespace') || null; 7407 b && (s.raws.namespace += m), (f = 'namespace'); 7408 } 7409 d = !1; 7410 break; 7411 case T.dollar: 7412 if (f === 'value') { 7413 var k = (0, Q.getProp)(s, 'raws', 'value'); 7414 (s.value += '$'), k && (s.raws.value = k + '$'); 7415 break; 7416 } 7417 case T.caret: 7418 w[A.FIELDS.TYPE] === T.equals && ((s.operator = m), (f = 'operator')), (d = !1); 7419 break; 7420 case T.combinator: 7421 if ( 7422 (m === '~' && w[A.FIELDS.TYPE] === T.equals && ((s.operator = m), (f = 'operator')), 7423 m !== '|') 7424 ) { 7425 d = !1; 7426 break; 7427 } 7428 w[A.FIELDS.TYPE] === T.equals 7429 ? ((s.operator = m), (f = 'operator')) 7430 : !s.namespace && !s.attribute && (s.namespace = !0), 7431 (d = !1); 7432 break; 7433 case T.word: 7434 if ( 7435 w && 7436 this.content(w) === '|' && 7437 r[o + 2] && 7438 r[o + 2][A.FIELDS.TYPE] !== T.equals && 7439 !s.operator && 7440 !s.namespace 7441 ) 7442 (s.namespace = m), (f = 'namespace'); 7443 else if (!s.attribute || (f === 'attribute' && !d)) { 7444 u && 7445 ((0, Q.ensureObject)(s, 'spaces', 'attribute'), 7446 (s.spaces.attribute.before = u), 7447 (u = '')), 7448 c && 7449 ((0, Q.ensureObject)(s, 'raws', 'spaces', 'attribute'), 7450 (s.raws.spaces.attribute.before = c), 7451 (c = '')), 7452 (s.attribute = (s.attribute || '') + m); 7453 var S = (0, Q.getProp)(s, 'raws', 'attribute') || null; 7454 S && (s.raws.attribute += m), (f = 'attribute'); 7455 } else if ((!s.value && s.value !== '') || (f === 'value' && !(d || s.quoteMark))) { 7456 var _ = (0, Q.unesc)(m), 7457 O = (0, Q.getProp)(s, 'raws', 'value') || '', 7458 I = s.value || ''; 7459 (s.value = I + _), 7460 (s.quoteMark = null), 7461 (_ !== m || O) && 7462 ((0, Q.ensureObject)(s, 'raws'), (s.raws.value = (O || I) + m)), 7463 (f = 'value'); 7464 } else { 7465 var B = m === 'i' || m === 'I'; 7466 (s.value || s.value === '') && (s.quoteMark || d) 7467 ? ((s.insensitive = B), 7468 (!B || m === 'I') && 7469 ((0, Q.ensureObject)(s, 'raws'), (s.raws.insensitiveFlag = m)), 7470 (f = 'insensitive'), 7471 u && 7472 ((0, Q.ensureObject)(s, 'spaces', 'insensitive'), 7473 (s.spaces.insensitive.before = u), 7474 (u = '')), 7475 c && 7476 ((0, Q.ensureObject)(s, 'raws', 'spaces', 'insensitive'), 7477 (s.raws.spaces.insensitive.before = c), 7478 (c = ''))) 7479 : (s.value || s.value === '') && 7480 ((f = 'value'), (s.value += m), s.raws.value && (s.raws.value += m)); 7481 } 7482 d = !1; 7483 break; 7484 case T.str: 7485 if (!s.attribute || !s.operator) 7486 return this.error( 7487 'Expected an attribute followed by an operator preceding the string.', 7488 { index: p[A.FIELDS.START_POS] }, 7489 ); 7490 var q = (0, gp.unescapeValue)(m), 7491 X = q.unescaped, 7492 le = q.quoteMark; 7493 (s.value = X), 7494 (s.quoteMark = le), 7495 (f = 'value'), 7496 (0, Q.ensureObject)(s, 'raws'), 7497 (s.raws.value = m), 7498 (d = !1); 7499 break; 7500 case T.equals: 7501 if (!s.attribute) return this.expected('attribute', p[A.FIELDS.START_POS], m); 7502 if (s.value) 7503 return this.error('Unexpected "=" found; an operator was already defined.', { 7504 index: p[A.FIELDS.START_POS], 7505 });
7506 (s.operator = s.operator ? s.operator + m : m), (f = 'operator'), (d = !1); 7507 break; 7508 case T.comment: 7509 if (f) 7510 if (d || (w && w[A.FIELDS.TYPE] === T.space) || f === 'insensitive') { 7511 var ce = (0, Q.getProp)(s, 'spaces', f, 'after') || '', 7512 $e = (0, Q.getProp)(s, 'raws', 'spaces', f, 'after') || ce; 7513 (0, Q.ensureObject)(s, 'raws', 'spaces', f), (s.raws.spaces[f].after = $e + m); 7514 } else { 7515 var j = s[f] || '', 7516 ue = (0, Q.getProp)(s, 'raws', f) || j; 7517 (0, Q.ensureObject)(s, 'raws'), (s.raws[f] = ue + m); 7518 } 7519 else c = c + m; 7520 break; 7521 default: 7522 return this.error('Unexpected "' + m + '" found.', { 7523 index: p[A.FIELDS.START_POS], 7524 }); 7525 } 7526 o++; 7527 } 7528 qt(s, 'attribute'), qt(s, 'namespace'), this.newNode(new gp.default(s)), this.position++; 7529 }), 7530 (e.parseWhitespaceEquivalentTokens = function (r) { 7531 r < 0 && (r = this.tokens.length); 7532 var n = this.position, 7533 a = [], 7534 s = '', 7535 o = void 0; 7536 do 7537 if (Sa[this.currToken[A.FIELDS.TYPE]]) this.options.lossy || (s += this.content()); 7538 else if (this.currToken[A.FIELDS.TYPE] === T.comment) { 7539 var u = {}; 7540 s && ((u.before = s), (s = '')), 7541 (o = new mp.default({ 7542 value: this.content(), 7543 source: It(this.currToken), 7544 sourceIndex: this.currToken[A.FIELDS.START_POS], 7545 spaces: u, 7546 })), 7547 a.push(o); 7548 } 7549 while (++this.position < r); 7550 if (s) { 7551 if (o) o.spaces.after = s; 7552 else if (!this.options.lossy) { 7553 var c = this.tokens[n], 7554 f = this.tokens[this.position - 1]; 7555 a.push( 7556 new va.default({ 7557 value: '', 7558 source: bt( 7559 c[A.FIELDS.START_LINE], 7560 c[A.FIELDS.START_COL], 7561 f[A.FIELDS.END_LINE], 7562 f[A.FIELDS.END_COL], 7563 ), 7564 sourceIndex: c[A.FIELDS.START_POS], 7565 spaces: { before: s, after: '' }, 7566 }), 7567 ); 7568 } 7569 } 7570 return a; 7571 }), 7572 (e.convertWhitespaceNodesToSpace = function (r, n) { 7573 var a = this; 7574 n === void 0 && (n = !1); 7575 var s = '', 7576 o = ''; 7577 r.forEach(function (c) { 7578 var f = a.lossySpace(c.spaces.before, n), 7579 d = a.lossySpace(c.rawSpaceBefore, n); 7580 (s += f + a.lossySpace(c.spaces.after, n && f.length === 0)), 7581 (o += f + c.value + a.lossySpace(c.rawSpaceAfter, n && d.length === 0)); 7582 }), 7583 o === s && (o = void 0); 7584 var u = { space: s, rawSpace: o }; 7585 return u; 7586 }), 7587 (e.isNamedCombinator = function (r) { 7588 return ( 7589 r === void 0 && (r = this.position), 7590 this.tokens[r + 0] && 7591 this.tokens[r + 0][A.FIELDS.TYPE] === T.slash && 7592 this.tokens[r + 1] && 7593 this.tokens[r + 1][A.FIELDS.TYPE] === T.word && 7594 this.tokens[r + 2] && 7595 this.tokens[r + 2][A.FIELDS.TYPE] === T.slash 7596 ); 7597 }), 7598 (e.namedCombinator = function () { 7599 if (this.isNamedCombinator()) { 7600 var r = this.content(this.tokens[this.position + 1]), 7601 n = (0, Q.unesc)(r).toLowerCase(), 7602 a = {}; 7603 n !== r && (a.value = '/' + r + '/'); 7604 var s = new xa.default({ 7605 value: '/' + n + '/', 7606 source: bt( 7607 this.currToken[A.FIELDS.START_LINE], 7608 this.currToken[A.FIELDS.START_COL], 7609 this.tokens[this.position + 2][A.FIELDS.END_LINE], 7610 this.tokens[this.position + 2][A.FIELDS.END_COL], 7611 ), 7612 sourceIndex: this.currToken[A.FIELDS.START_POS], 7613 raws: a, 7614 }); 7615 return (this.position = this.position + 3), s; 7616 } else this.unexpected(); 7617 }), 7618 (e.combinator = function () { 7619 var r = this; 7620 if (this.content() === '|') return this.namespace(); 7621 var n = this.locateNextMeaningfulToken(this.position); 7622 if (n < 0 || this.tokens[n][A.FIELDS.TYPE] === T.comma) { 7623 var a = this.parseWhitespaceEquivalentTokens(n); 7624 if (a.length > 0) { 7625 var s = this.current.last; 7626 if (s) { 7627 var o = this.convertWhitespaceNodesToSpace(a), 7628 u = o.space, 7629 c = o.rawSpace; 7630 c !== void 0 && (s.rawSpaceAfter += c), (s.spaces.after += u); 7631 } else 7632 a.forEach(function (O) { 7633 return r.newNode(O); 7634 });
7635 } 7636 return; 7637 } 7638 var f = this.currToken, 7639 d = void 0; 7640 n > this.position && (d = this.parseWhitespaceEquivalentTokens(n)); 7641 var p; 7642 if ( 7643 (this.isNamedCombinator() 7644 ? (p = this.namedCombinator()) 7645 : this.currToken[A.FIELDS.TYPE] === T.combinator 7646 ? ((p = new xa.default({ 7647 value: this.content(), 7648 source: It(this.currToken), 7649 sourceIndex: this.currToken[A.FIELDS.START_POS], 7650 })), 7651 this.position++) 7652 : Sa[this.currToken[A.FIELDS.TYPE]] || d || this.unexpected(), 7653 p) 7654 ) { 7655 if (d) { 7656 var m = this.convertWhitespaceNodesToSpace(d), 7657 w = m.space, 7658 x = m.rawSpace; 7659 (p.spaces.before = w), (p.rawSpaceBefore = x); 7660 } 7661 } else { 7662 var y = this.convertWhitespaceNodesToSpace(d, !0), 7663 b = y.space, 7664 k = y.rawSpace; 7665 k || (k = b); 7666 var S = {}, 7667 _ = { spaces: {} }; 7668 b.endsWith(' ') && k.endsWith(' ') 7669 ? ((S.before = b.slice(0, b.length - 1)), (_.spaces.before = k.slice(0, k.length - 1))) 7670 : b.startsWith(' ') && k.startsWith(' ') 7671 ? ((S.after = b.slice(1)), (_.spaces.after = k.slice(1))) 7672 : (_.value = k), 7673 (p = new xa.default({ 7674 value: ' ', 7675 source: Ca(f, this.tokens[this.position - 1]), 7676 sourceIndex: f[A.FIELDS.START_POS], 7677 spaces: S, 7678 raws: _, 7679 })); 7680 } 7681 return ( 7682 this.currToken && 7683 this.currToken[A.FIELDS.TYPE] === T.space && 7684 ((p.spaces.after = this.optionalSpace(this.content())), this.position++), 7685 this.newNode(p) 7686 ); 7687 }), 7688 (e.comma = function () { 7689 if (this.position === this.tokens.length - 1) { 7690 (this.root.trailingComma = !0), this.position++; 7691 return; 7692 } 7693 this.current._inferEndPosition(); 7694 var r = new ba.default({ 7695 source: { start: bp(this.tokens[this.position + 1]) }, 7696 }); 7697 this.current.parent.append(r), (this.current = r), this.position++; 7698 }), 7699 (e.comment = function () { 7700 var r = this.currToken; 7701 this.newNode( 7702 new mp.default({ 7703 value: this.content(), 7704 source: It(r), 7705 sourceIndex: r[A.FIELDS.START_POS], 7706 }), 7707 ), 7708 this.position++; 7709 }), 7710 (e.error = function (r, n) { 7711 throw this.root.error(r, n); 7712 }), 7713 (e.missingBackslash = function () { 7714 return this.error('Expected a backslash preceding the semicolon.', { 7715 index: this.currToken[A.FIELDS.START_POS], 7716 }); 7717 }), 7718 (e.missingParenthesis = function () { 7719 return this.expected('opening parenthesis', this.currToken[A.FIELDS.START_POS]); 7720 }), 7721 (e.missingSquareBracket = function () { 7722 return this.expected('opening square bracket', this.currToken[A.FIELDS.START_POS]); 7723 }), 7724 (e.unexpected = function () { 7725 return this.error( 7726 "Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", 7727 this.currToken[A.FIELDS.START_POS], 7728 ); 7729 }), 7730 (e.unexpectedPipe = function () { 7731 return this.error("Unexpected '|'.", this.currToken[A.FIELDS.START_POS]); 7732 }), 7733 (e.namespace = function () { 7734 var r = (this.prevToken && this.content(this.prevToken)) || !0; 7735 if (this.nextToken[A.FIELDS.TYPE] === T.word) return this.position++, this.word(r); 7736 if (this.nextToken[A.FIELDS.TYPE] === T.asterisk) return this.position++, this.universal(r); 7737 this.unexpectedPipe(); 7738 }), 7739 (e.nesting = function () { 7740 if (this.nextToken) { 7741 var r = this.content(this.nextToken); 7742 if (r === '|') { 7743 this.position++; 7744 return; 7745 } 7746 } 7747 var n = this.currToken; 7748 this.newNode( 7749 new Ak.default({ 7750 value: this.content(), 7751 source: It(n), 7752 sourceIndex: n[A.FIELDS.START_POS], 7753 }), 7754 ), 7755 this.position++; 7756 }), 7757 (e.parentheses = function () { 7758 var r = this.current.last, 7759 n = 1; 7760 if ((this.position++, r && r.type === Ok.PSEUDO)) { 7761 var a = new ba.default({ 7762 source: { start: bp(this.tokens[this.position - 1]) }, 7763 }), 7764 s = this.current; 7765 for (r.append(a), this.current = a; this.position < this.tokens.length && n; ) 7766 this.currToken[A.FIELDS.TYPE] === T.openParenthesis && n++, 7767 this.currToken[A.FIELDS.TYPE] === T.closeParenthesis && n--, 7768 n 7769 ? this.parse() 7770 : ((this.current.source.end = vp(this.currToken)), 7771 (this.current.parent.source.end = vp(this.currToken)), 7772 this.position++); 7773 this.current = s; 7774 } else { 7775 for (var o = this.currToken, u = '(', c; this.position < this.tokens.length && n; ) 7776 this.currToken[A.FIELDS.TYPE] === T.openParenthesis && n++, 7777 this.currToken[A.FIELDS.TYPE] === T.closeParenthesis && n--, 7778 (c = this.currToken), 7779 (u += this.parseParenthesisToken(this.currToken)), 7780 this.position++; 7781 r 7782 ? r.appendToPropertyAndEscape('value', u, u) 7783 : this.newNode( 7784 new va.default({ 7785 value: u, 7786 source: bt( 7787 o[A.FIELDS.START_LINE], 7788 o[A.FIELDS.START_COL], 7789 c[A.FIELDS.END_LINE], 7790 c[A.FIELDS.END_COL], 7791 ), 7792 sourceIndex: o[A.FIELDS.START_POS], 7793 }), 7794 ); 7795 } 7796 if (n) return this.expected('closing parenthesis', this.currToken[A.FIELDS.START_POS]); 7797 }), 7798 (e.pseudo = function () { 7799 for ( 7800 var r = this, n = '', a = this.currToken; 7801 this.currToken && this.currToken[A.FIELDS.TYPE] === T.colon; 7802 7803 ) 7804 (n += this.content()), this.position++; 7805 if (!this.currToken) return this.expected(['pseudo-class', 'pseudo-element'], this.position - 1); 7806 if (this.currToken[A.FIELDS.TYPE] === T.word) 7807 this.splitWord(!1, function (s, o) { 7808 (n += s), 7809 r.newNode( 7810 new Sk.default({ 7811 value: n, 7812 source: Ca(a, r.currToken), 7813 sourceIndex: a[A.FIELDS.START_POS], 7814 }), 7815 ), 7816 o > 1 && 7817 r.nextToken && 7818 r.nextToken[A.FIELDS.TYPE] === T.openParenthesis && 7819 r.error('Misplaced parenthesis.', { 7820 index: r.nextToken[A.FIELDS.START_POS], 7821 });
7822 }); 7823 else return this.expected(['pseudo-class', 'pseudo-element'], this.currToken[A.FIELDS.START_POS]); 7824 }), 7825 (e.space = function () { 7826 var r = this.content(); 7827 this.position === 0 || 7828 this.prevToken[A.FIELDS.TYPE] === T.comma || 7829 this.prevToken[A.FIELDS.TYPE] === T.openParenthesis || 7830 this.current.nodes.every(function (n) { 7831 return n.type === 'comment'; 7832 }) 7833 ? ((this.spaces = this.optionalSpace(r)), this.position++) 7834 : this.position === this.tokens.length - 1 || 7835 this.nextToken[A.FIELDS.TYPE] === T.comma || 7836 this.nextToken[A.FIELDS.TYPE] === T.closeParenthesis 7837 ? ((this.current.last.spaces.after = this.optionalSpace(r)), this.position++) 7838 : this.combinator(); 7839 }), 7840 (e.string = function () { 7841 var r = this.currToken; 7842 this.newNode( 7843 new va.default({ 7844 value: this.content(), 7845 source: It(r), 7846 sourceIndex: r[A.FIELDS.START_POS], 7847 }), 7848 ), 7849 this.position++; 7850 }), 7851 (e.universal = function (r) { 7852 var n = this.nextToken; 7853 if (n && this.content(n) === '|') return this.position++, this.namespace(); 7854 var a = this.currToken; 7855 this.newNode( 7856 new Ck.default({ 7857 value: this.content(), 7858 source: It(a), 7859 sourceIndex: a[A.FIELDS.START_POS], 7860 }), 7861 r, 7862 ), 7863 this.position++; 7864 }), 7865 (e.splitWord = function (r, n) { 7866 for ( 7867 var a = this, s = this.nextToken, o = this.content(); 7868 s && ~[T.dollar, T.caret, T.equals, T.word].indexOf(s[A.FIELDS.TYPE]); 7869 7870 ) { 7871 this.position++; 7872 var u = this.content(); 7873 if (((o += u), u.lastIndexOf('\\') === u.length - 1)) { 7874 var c = this.nextToken; 7875 c && 7876 c[A.FIELDS.TYPE] === T.space && 7877 ((o += this.requiredSpace(this.content(c))), this.position++); 7878 } 7879 s = this.nextToken; 7880 } 7881 var f = Aa(o, '.').filter(function (w) { 7882 var x = o[w - 1] === '\\', 7883 y = /^\d+\.\d+%$/.test(o); 7884 return !x && !y; 7885 }), 7886 d = Aa(o, '#').filter(function (w) { 7887 return o[w - 1] !== '\\'; 7888 }), 7889 p = Aa(o, '#{'); 7890 p.length && 7891 (d = d.filter(function (w) { 7892 return !~p.indexOf(w); 7893 })); 7894 var m = (0, _k.default)(Pk([0].concat(f, d))); 7895 m.forEach(function (w, x) { 7896 var y = m[x + 1] || o.length, 7897 b = o.slice(w, y); 7898 if (x === 0 && n) return n.call(a, b, m.length); 7899 var k, 7900 S = a.currToken, 7901 _ = S[A.FIELDS.START_POS] + m[x], 7902 O = bt(S[1], S[2] + w, S[3], S[2] + (y - 1)); 7903 if (~f.indexOf(w)) { 7904 var I = { value: b.slice(1), source: O, sourceIndex: _ }; 7905 k = new vk.default(qt(I, 'value')); 7906 } else if (~d.indexOf(w)) { 7907 var B = { value: b.slice(1), source: O, sourceIndex: _ }; 7908 k = new xk.default(qt(B, 'value')); 7909 } else { 7910 var q = { value: b, source: O, sourceIndex: _ }; 7911 qt(q, 'value'), (k = new kk.default(q)); 7912 } 7913 a.newNode(k, r), (r = null); 7914 }), 7915 this.position++; 7916 }), 7917 (e.word = function (r) { 7918 var n = this.nextToken; 7919 return n && this.content(n) === '|' ? (this.position++, this.namespace()) : this.splitWord(r); 7920 }), 7921 (e.loop = function () { 7922 for (; this.position < this.tokens.length; ) this.parse(!0); 7923 return this.current._inferEndPosition(), this.root; 7924 }), 7925 (e.parse = function (r) { 7926 switch (this.currToken[A.FIELDS.TYPE]) { 7927 case T.space: 7928 this.space(); 7929 break; 7930 case T.comment: 7931 this.comment(); 7932 break; 7933 case T.openParenthesis: 7934 this.parentheses(); 7935 break; 7936 case T.closeParenthesis: 7937 r && this.missingParenthesis(); 7938 break; 7939 case T.openSquare: 7940 this.attribute(); 7941 break; 7942 case T.dollar: 7943 case T.caret: 7944 case T.equals: 7945 case T.word: 7946 this.word(); 7947 break; 7948 case T.colon: 7949 this.pseudo(); 7950 break; 7951 case T.comma: 7952 this.comma(); 7953 break; 7954 case T.asterisk: 7955 this.universal(); 7956 break; 7957 case T.ampersand: 7958 this.nesting(); 7959 break; 7960 case T.slash: 7961 case T.combinator: 7962 this.combinator(); 7963 break; 7964 case T.str: 7965 this.string(); 7966 break; 7967 case T.closeSquare: 7968 this.missingSquareBracket(); 7969 case T.semicolon: 7970 this.missingBackslash(); 7971 default: 7972 this.unexpected(); 7973 } 7974 }), 7975 (e.expected = function (r, n, a) { 7976 if (Array.isArray(r)) { 7977 var s = r.pop();
7978 r = r.join(', ') + ' or ' + s; 7979 } 7980 var o = /^[aeiou]/.test(r[0]) ? 'an' : 'a'; 7981 return a 7982 ? this.error('Expected ' + o + ' ' + r + ', found "' + a + '" instead.', { index: n }) 7983 : this.error('Expected ' + o + ' ' + r + '.', { index: n }); 7984 }), 7985 (e.requiredSpace = function (r) { 7986 return this.options.lossy ? ' ' : r; 7987 }), 7988 (e.optionalSpace = function (r) { 7989 return this.options.lossy ? '' : r; 7990 }), 7991 (e.lossySpace = function (r, n) { 7992 return this.options.lossy ? (n ? ' ' : '') : r; 7993 }), 7994 (e.parseParenthesisToken = function (r) { 7995 var n = this.content(r); 7996 return r[A.FIELDS.TYPE] === T.space ? this.requiredSpace(n) : n; 7997 }), 7998 (e.newNode = function (r, n) { 7999 return ( 8000 n && 8001 (/^ +$/.test(n) && 8002 (this.options.lossy || (this.spaces = (this.spaces || '') + n), (n = !0)), 8003 (r.namespace = n), 8004 qt(r, 'namespace')), 8005 this.spaces && ((r.spaces.before = this.spaces), (this.spaces = '')), 8006 this.current.append(r) 8007 ); 8008 }), 8009 (e.content = function (r) { 8010 return ( 8011 r === void 0 && (r = this.currToken), this.css.slice(r[A.FIELDS.START_POS], r[A.FIELDS.END_POS]) 8012 ); 8013 }), 8014 (e.locateNextMeaningfulToken = function (r) { 8015 r === void 0 && (r = this.position + 1); 8016 for (var n = r; n < this.tokens.length; ) 8017 if (Tk[this.tokens[n][A.FIELDS.TYPE]]) { 8018 n++; 8019 continue; 8020 } else return n; 8021 return -1; 8022 }), 8023 Ek(i, [ 8024 { 8025 key: 'currToken', 8026 get: function () { 8027 return this.tokens[this.position]; 8028 }, 8029 }, 8030 { 8031 key: 'nextToken', 8032 get: function () { 8033 return this.tokens[this.position + 1]; 8034 }, 8035 }, 8036 { 8037 key: 'prevToken', 8038 get: function () { 8039 return this.tokens[this.position - 1]; 8040 }, 8041 }, 8042 ]), 8043 i 8044 ); 8045 })(); 8046 Ur.default = Dk; 8047 xp.exports = Ur.default; 8048 }); 8049 var Cp = v((Wr, Sp) => { 8050 l(); 8051 ('use strict'); 8052 Wr.__esModule = !0; 8053 Wr.default = void 0; 8054 var Ik = qk(kp()); 8055 function qk(i) { 8056 return i && i.__esModule ? i : { default: i }; 8057 } 8058 var Rk = (function () { 8059 function i(t, r) { 8060 (this.func = t || function () {}), (this.funcRes = null), (this.options = r); 8061 } 8062 var e = i.prototype; 8063 return ( 8064 (e._shouldUpdateSelector = function (r, n) { 8065 n === void 0 && (n = {}); 8066 var a = Object.assign({}, this.options, n); 8067 return a.updateSelector === !1 ? !1 : typeof r != 'string'; 8068 }), 8069 (e._isLossy = function (r) { 8070 r === void 0 && (r = {}); 8071 var n = Object.assign({}, this.options, r); 8072 return n.lossless === !1; 8073 }), 8074 (e._root = function (r, n) { 8075 n === void 0 && (n = {}); 8076 var a = new Ik.default(r, this._parseOptions(n)); 8077 return a.root; 8078 }), 8079 (e._parseOptions = function (r) { 8080 return { lossy: this._isLossy(r) }; 8081 }), 8082 (e._run = function (r, n) { 8083 var a = this; 8084 return ( 8085 n === void 0 && (n = {}), 8086 new Promise(function (s, o) { 8087 try { 8088 var u = a._root(r, n); 8089 Promise.resolve(a.func(u)) 8090 .then(function (c) { 8091 var f = void 0; 8092 return ( 8093 a._shouldUpdateSelector(r, n) && ((f = u.toString()), (r.selector = f)), 8094 { transform: c, root: u, string: f } 8095 ); 8096 }) 8097 .then(s, o); 8098 } catch (c) { 8099 o(c); 8100 return; 8101 } 8102 }) 8103 ); 8104 }), 8105 (e._runSync = function (r, n) { 8106 n === void 0 && (n = {}); 8107 var a = this._root(r, n), 8108 s = this.func(a); 8109 if (s && typeof s.then == 'function') 8110 throw new Error('Selector processor returned a promise to a synchronous call.'); 8111 var o = void 0; 8112 return ( 8113 n.updateSelector && typeof r != 'string' && ((o = a.toString()), (r.selector = o)), 8114 { transform: s, root: a, string: o } 8115 ); 8116 }), 8117 (e.ast = function (r, n) { 8118 return this._run(r, n).then(function (a) { 8119 return a.root; 8120 });
8121 }), 8122 (e.astSync = function (r, n) { 8123 return this._runSync(r, n).root; 8124 }), 8125 (e.transform = function (r, n) { 8126 return this._run(r, n).then(function (a) { 8127 return a.transform; 8128 }); 8129 }), 8130 (e.transformSync = function (r, n) { 8131 return this._runSync(r, n).transform; 8132 }), 8133 (e.process = function (r, n) { 8134 return this._run(r, n).then(function (a) { 8135 return a.string || a.root.toString(); 8136 }); 8137 }), 8138 (e.processSync = function (r, n) { 8139 var a = this._runSync(r, n); 8140 return a.string || a.root.toString(); 8141 }), 8142 i 8143 ); 8144 })(); 8145 Wr.default = Rk; 8146 Sp.exports = Wr.default; 8147 }); 8148 var Ap = v((H) => { 8149 l(); 8150 ('use strict'); 8151 H.__esModule = !0; 8152 H.universal = 8153 H.tag = 8154 H.string = 8155 H.selector = 8156 H.root = 8157 H.pseudo = 8158 H.nesting = 8159 H.id = 8160 H.comment = 8161 H.combinator = 8162 H.className = 8163 H.attribute = 8164 void 0; 8165 var Mk = ve(fa()), 8166 Bk = ve(Hs()), 8167 Fk = ve(ha()), 8168 Nk = ve(Qs()), 8169 Lk = ve(Xs()), 8170 $k = ve(ga()), 8171 jk = ve(na()), 8172 zk = ve(zs()), 8173 Vk = ve(Us()), 8174 Uk = ve(ra()), 8175 Wk = ve(ea()), 8176 Gk = ve(pa()); 8177 function ve(i) { 8178 return i && i.__esModule ? i : { default: i }; 8179 } 8180 var Hk = function (e) { 8181 return new Mk.default(e); 8182 }; 8183 H.attribute = Hk; 8184 var Yk = function (e) { 8185 return new Bk.default(e); 8186 }; 8187 H.className = Yk; 8188 var Qk = function (e) { 8189 return new Fk.default(e); 8190 }; 8191 H.combinator = Qk; 8192 var Jk = function (e) { 8193 return new Nk.default(e); 8194 }; 8195 H.comment = Jk; 8196 var Xk = function (e) { 8197 return new Lk.default(e); 8198 }; 8199 H.id = Xk; 8200 var Kk = function (e) { 8201 return new $k.default(e); 8202 }; 8203 H.nesting = Kk; 8204 var Zk = function (e) { 8205 return new jk.default(e); 8206 }; 8207 H.pseudo = Zk; 8208 var eS = function (e) { 8209 return new zk.default(e); 8210 }; 8211 H.root = eS; 8212 var tS = function (e) { 8213 return new Vk.default(e); 8214 }; 8215 H.selector = tS; 8216 var rS = function (e) { 8217 return new Uk.default(e); 8218 }; 8219 H.string = rS; 8220 var iS = function (e) { 8221 return new Wk.default(e); 8222 }; 8223 H.tag = iS; 8224 var nS = function (e) { 8225 return new Gk.default(e); 8226 }; 8227 H.universal = nS; 8228 }); 8229 var Tp = v(($) => { 8230 l(); 8231 ('use strict'); 8232 $.__esModule = !0; 8233 $.isComment = $.isCombinator = $.isClassName = $.isAttribute = void 0; 8234 $.isContainer = gS; 8235 $.isIdentifier = void 0; 8236 $.isNamespace = yS; 8237 $.isNesting = void 0; 8238 $.isNode = _a; 8239 $.isPseudo = void 0; 8240 $.isPseudoClass = mS; 8241 $.isPseudoElement = Ep; 8242 $.isUniversal = $.isTag = $.isString = $.isSelector = $.isRoot = void 0; 8243 var J = se(), 8244 pe, 8245 sS = 8246 ((pe = {}), 8247 (pe[J.ATTRIBUTE] = !0), 8248 (pe[J.CLASS] = !0), 8249 (pe[J.COMBINATOR] = !0), 8250 (pe[J.COMMENT] = !0), 8251 (pe[J.ID] = !0), 8252 (pe[J.NESTING] = !0), 8253 (pe[J.PSEUDO] = !0), 8254 (pe[J.ROOT] = !0), 8255 (pe[J.SELECTOR] = !0), 8256 (pe[J.STRING] = !0), 8257 (pe[J.TAG] = !0), 8258 (pe[J.UNIVERSAL] = !0), 8259 pe); 8260 function _a(i) { 8261 return typeof i == 'object' && sS[i.type]; 8262 } 8263 function xe(i, e) { 8264 return _a(e) && e.type === i; 8265 } 8266 var _p = xe.bind(null, J.ATTRIBUTE); 8267 $.isAttribute = _p; 8268 var aS = xe.bind(null, J.CLASS); 8269 $.isClassName = aS; 8270 var oS = xe.bind(null, J.COMBINATOR); 8271 $.isCombinator = oS; 8272 var lS = xe.bind(null, J.COMMENT); 8273 $.isComment = lS; 8274 var uS = xe.bind(null, J.ID); 8275 $.isIdentifier = uS; 8276 var fS = xe.bind(null, J.NESTING); 8277 $.isNesting = fS; 8278 var Oa = xe.bind(null, J.PSEUDO); 8279 $.isPseudo = Oa; 8280 var cS = xe.bind(null, J.ROOT); 8281 $.isRoot = cS; 8282 var pS = xe.bind(null, J.SELECTOR); 8283 $.isSelector = pS; 8284 var dS = xe.bind(null, J.STRING); 8285 $.isString = dS; 8286 var Op = xe.bind(null, J.TAG); 8287 $.isTag = Op; 8288 var hS = xe.bind(null, J.UNIVERSAL); 8289 $.isUniversal = hS; 8290 function Ep(i) { 8291 return ( 8292 Oa(i) && 8293 i.value && 8294 (i.value.startsWith('::') || 8295 i.value.toLowerCase() === ':before' || 8296 i.value.toLowerCase() === ':after' || 8297 i.value.toLowerCase() === ':first-letter' || 8298 i.value.toLowerCase() === ':first-line') 8299 ); 8300 } 8301 function mS(i) { 8302 return Oa(i) && !Ep(i); 8303 } 8304 function gS(i) { 8305 return !!(_a(i) && i.walk); 8306 } 8307 function yS(i) { 8308 return _p(i) || Op(i);
8309 } 8310 }); 8311 var Pp = v((Ee) => { 8312 l(); 8313 ('use strict'); 8314 Ee.__esModule = !0; 8315 var Ea = se(); 8316 Object.keys(Ea).forEach(function (i) { 8317 i === 'default' || i === '__esModule' || (i in Ee && Ee[i] === Ea[i]) || (Ee[i] = Ea[i]); 8318 }); 8319 var Ta = Ap(); 8320 Object.keys(Ta).forEach(function (i) { 8321 i === 'default' || i === '__esModule' || (i in Ee && Ee[i] === Ta[i]) || (Ee[i] = Ta[i]); 8322 }); 8323 var Pa = Tp(); 8324 Object.keys(Pa).forEach(function (i) { 8325 i === 'default' || i === '__esModule' || (i in Ee && Ee[i] === Pa[i]) || (Ee[i] = Pa[i]); 8326 }); 8327 }); 8328 var Re = v((Gr, Ip) => { 8329 l(); 8330 ('use strict'); 8331 Gr.__esModule = !0; 8332 Gr.default = void 0; 8333 var wS = xS(Cp()), 8334 bS = vS(Pp()); 8335 function Dp(i) { 8336 if (typeof WeakMap != 'function') return null; 8337 var e = new WeakMap(), 8338 t = new WeakMap(); 8339 return (Dp = function (n) { 8340 return n ? t : e; 8341 })(i); 8342 } 8343 function vS(i, e) { 8344 if (!e && i && i.__esModule) return i; 8345 if (i === null || (typeof i != 'object' && typeof i != 'function')) return { default: i }; 8346 var t = Dp(e); 8347 if (t && t.has(i)) return t.get(i); 8348 var r = {}, 8349 n = Object.defineProperty && Object.getOwnPropertyDescriptor; 8350 for (var a in i) 8351 if (a !== 'default' && Object.prototype.hasOwnProperty.call(i, a)) { 8352 var s = n ? Object.getOwnPropertyDescriptor(i, a) : null; 8353 s && (s.get || s.set) ? Object.defineProperty(r, a, s) : (r[a] = i[a]); 8354 } 8355 return (r.default = i), t && t.set(i, r), r; 8356 } 8357 function xS(i) { 8358 return i && i.__esModule ? i : { default: i }; 8359 } 8360 var Da = function (e) { 8361 return new wS.default(e); 8362 }; 8363 Object.assign(Da, bS); 8364 delete Da.__esModule; 8365 var kS = Da; 8366 Gr.default = kS; 8367 Ip.exports = Gr.default; 8368 }); 8369 function Ge(i) { 8370 return ['fontSize', 'outline'].includes(i) 8371 ? (e) => (typeof e == 'function' && (e = e({})), Array.isArray(e) && (e = e[0]), e) 8372 : i === 'fontFamily' 8373 ? (e) => { 8374 typeof e == 'function' && (e = e({})); 8375 let t = Array.isArray(e) && ne(e[1]) ? e[0] : e; 8376 return Array.isArray(t) ? t.join(', ') : t; 8377 } 8378 : [ 8379 'boxShadow', 8380 'transitionProperty', 8381 'transitionDuration', 8382 'transitionDelay', 8383 'transitionTimingFunction', 8384 'backgroundImage', 8385 'backgroundSize', 8386 'backgroundColor', 8387 'cursor', 8388 'animation', 8389 ].includes(i) 8390 ? (e) => (typeof e == 'function' && (e = e({})), Array.isArray(e) && (e = e.join(', ')), e) 8391 : ['gridTemplateColumns', 'gridTemplateRows', 'objectPosition'].includes(i) 8392 ? (e) => (typeof e == 'function' && (e = e({})), typeof e == 'string' && (e = V.list.comma(e).join(' ')), e) 8393 : (e, t = {}) => (typeof e == 'function' && (e = e(t)), e); 8394 } 8395 var Hr = C(() => { 8396 l(); 8397 nt(); 8398 kt(); 8399 }); 8400 var Lp = v((O3, Ba) => { 8401 l(); 8402 var { Rule: qp, AtRule: SS } = ge(), 8403 Rp = Re(); 8404 function Ia(i, e) { 8405 let t; 8406 try { 8407 Rp((r) => { 8408 t = r; 8409 }).processSync(i); 8410 } catch (r) { 8411 throw i.includes(':') ? (e ? e.error('Missed semicolon') : r) : e ? e.error(r.message) : r; 8412 } 8413 return t.at(0); 8414 } 8415 function Mp(i, e) { 8416 let t = !1; 8417 return ( 8418 i.each((r) => { 8419 if (r.type === 'nesting') { 8420 let n = e.clone({}); 8421 r.value !== '&' ? r.replaceWith(Ia(r.value.replace('&', n.toString()))) : r.replaceWith(n), 8422 (t = !0); 8423 } else 'nodes' in r && r.nodes && Mp(r, e) && (t = !0); 8424 }), 8425 t 8426 ); 8427 } 8428 function Bp(i, e) { 8429 let t = []; 8430 return ( 8431 i.selectors.forEach((r) => { 8432 let n = Ia(r, i); 8433 e.selectors.forEach((a) => { 8434 if (!a) return; 8435 let s = Ia(a, e); 8436 Mp(s, n) || (s.prepend(Rp.combinator({ value: ' ' })), s.prepend(n.clone({}))), 8437 t.push(s.toString()); 8438 }); 8439 }), 8440 t 8441 ); 8442 } 8443 function on(i, e) { 8444 let t = i.prev(); 8445 for (e.after(i); t && t.type === 'comment'; ) { 8446 let r = t.prev(); 8447 e.after(t), (t = r); 8448 } 8449 return i; 8450 } 8451 function CS(i) { 8452 return function e(t, r, n, a = n) { 8453 let s = []; 8454 if ( 8455 (r.each((o) => { 8456 o.type === 'rule' && n 8457 ? a && (o.selectors = Bp(t, o)) 8458 : o.type === 'atrule' && o.nodes 8459 ? i[o.name] 8460 ? e(t, o, a) 8461 : r[Ra] !== !1 && s.push(o) 8462 : s.push(o); 8463 }), 8464 n && s.length) 8465 ) { 8466 let o = t.clone({ nodes: [] }); 8467 for (let u of s) o.append(u); 8468 r.prepend(o); 8469 } 8470 }; 8471 } 8472 function qa(i, e, t) { 8473 let r = new qp({ selector: i, nodes: [] }); 8474 return r.append(e), t.after(r), r; 8475 } 8476 function Fp(i, e) { 8477 let t = {}; 8478 for (let r of i) t[r] = !0; 8479 if (e) for (let r of e) t[r.replace(/^@/, '')] = !0; 8480 return t; 8481 } 8482 function AS(i) { 8483 i = i.trim(); 8484 let e = i.match(/^\((.*)\)$/); 8485 if (!e) return { type: 'basic', selector: i }; 8486 let t = e[1].match(/^(with(?:out)?):(.+)$/); 8487 if (t) { 8488 let r = t[1] === 'with', 8489 n = Object.fromEntries( 8490 t[2] 8491 .trim() 8492 .split(/\s+/) 8493 .map((s) => [s, !0]), 8494 ); 8495 if (r && n.all) return { type: 'noop' }; 8496 let a = (s) => !!n[s]; 8497 return ( 8498 n.all ? (a = () => !0) : r && (a = (s) => (s === 'all' ? !1 : !n[s])), 8499 { type: 'withrules', escapes: a } 8500 ); 8501 } 8502 return { type: 'unknown' }; 8503 } 8504 function _S(i) { 8505 let e = [], 8506 t = i.parent; 8507 for (; t && t instanceof SS; ) e.push(t), (t = t.parent); 8508 return e; 8509 } 8510 function OS(i) { 8511 let e = i[Np]; 8512 if (!e) i.after(i.nodes); 8513 else { 8514 let t = i.nodes, 8515 r,
8516 n = -1, 8517 a, 8518 s, 8519 o, 8520 u = _S(i); 8521 if ( 8522 (u.forEach((c, f) => { 8523 if (e(c.name)) (r = c), (n = f), (s = o); 8524 else { 8525 let d = o; 8526 (o = c.clone({ nodes: [] })), d && o.append(d), (a = a || o); 8527 } 8528 }), 8529 r ? (s ? (a.append(t), r.after(s)) : r.after(t)) : i.after(t), 8530 i.next() && r) 8531 ) { 8532 let c; 8533 u.slice(0, n + 1).forEach((f, d, p) => { 8534 let m = c; 8535 (c = f.clone({ nodes: [] })), m && c.append(m); 8536 let w = [], 8537 y = (p[d - 1] || i).next(); 8538 for (; y; ) w.push(y), (y = y.next()); 8539 c.append(w); 8540 }), 8541 c && (s || t[t.length - 1]).after(c); 8542 } 8543 } 8544 i.remove(); 8545 } 8546 var Ra = Symbol('rootRuleMergeSel'), 8547 Np = Symbol('rootRuleEscapes'); 8548 function ES(i) { 8549 let { params: e } = i, 8550 { type: t, selector: r, escapes: n } = AS(e); 8551 if (t === 'unknown') throw i.error(`Unknown @${i.name} parameter ${JSON.stringify(e)}`); 8552 if (t === 'basic' && r) { 8553 let a = new qp({ selector: r, nodes: i.nodes }); 8554 i.removeAll(), i.append(a); 8555 } 8556 (i[Np] = n), (i[Ra] = n ? !n('all') : t === 'noop'); 8557 } 8558 var Ma = Symbol('hasRootRule'); 8559 Ba.exports = (i = {}) => { 8560 let e = Fp(['media', 'supports', 'layer', 'container'], i.bubble), 8561 t = CS(e), 8562 r = Fp(['document', 'font-face', 'keyframes', '-webkit-keyframes', '-moz-keyframes'], i.unwrap), 8563 n = (i.rootRuleName || 'at-root').replace(/^@/, ''), 8564 a = i.preserveEmpty; 8565 return { 8566 postcssPlugin: 'postcss-nested', 8567 Once(s) { 8568 s.walkAtRules(n, (o) => { 8569 ES(o), (s[Ma] = !0); 8570 }); 8571 }, 8572 Rule(s) { 8573 let o = !1, 8574 u = s, 8575 c = !1, 8576 f = []; 8577 s.each((d) => { 8578 d.type === 'rule' 8579 ? (f.length && ((u = qa(s.selector, f, u)), (f = [])), 8580 (c = !0), 8581 (o = !0), 8582 (d.selectors = Bp(s, d)), 8583 (u = on(d, u))) 8584 : d.type === 'atrule' 8585 ? (f.length && ((u = qa(s.selector, f, u)), (f = [])), 8586 d.name === n 8587 ? ((o = !0), t(s, d, !0, d[Ra]), (u = on(d, u))) 8588 : e[d.name] 8589 ? ((c = !0), (o = !0), t(s, d, !0), (u = on(d, u))) 8590 : r[d.name] 8591 ? ((c = !0), (o = !0), t(s, d, !1), (u = on(d, u))) 8592 : c && f.push(d)) 8593 : d.type === 'decl' && c && f.push(d); 8594 }), 8595 f.length && (u = qa(s.selector, f, u)), 8596 o && a !== !0 && ((s.raws.semicolon = !0), s.nodes.length === 0 && s.remove()); 8597 }, 8598 RootExit(s) { 8599 s[Ma] && (s.walkAtRules(n, OS), (s[Ma] = !1)); 8600 }, 8601 }; 8602 }; 8603 Ba.exports.postcss = !0; 8604 }); 8605 var Vp = v((E3, zp) => { 8606 l(); 8607 ('use strict'); 8608 var $p = /-(\w|$)/g, 8609 jp = (i, e) => e.toUpperCase(), 8610 TS = (i) => ( 8611 (i = i.toLowerCase()), 8612 i === 'float' ? 'cssFloat' : i.startsWith('-ms-') ? i.substr(1).replace($p, jp) : i.replace($p, jp) 8613 ); 8614 zp.exports = TS; 8615 }); 8616 var La = v((T3, Up) => { 8617 l(); 8618 var PS = Vp(), 8619 DS = { 8620 boxFlex: !0, 8621 boxFlexGroup: !0, 8622 columnCount: !0, 8623 flex: !0, 8624 flexGrow: !0, 8625 flexPositive: !0, 8626 flexShrink: !0, 8627 flexNegative: !0, 8628 fontWeight: !0, 8629 lineClamp: !0, 8630 lineHeight: !0, 8631 opacity: !0, 8632 order: !0, 8633 orphans: !0, 8634 tabSize: !0, 8635 widows: !0, 8636 zIndex: !0, 8637 zoom: !0, 8638 fillOpacity: !0, 8639 strokeDashoffset: !0, 8640 strokeOpacity: !0, 8641 strokeWidth: !0, 8642 }; 8643 function Fa(i) { 8644 return typeof i.nodes == 'undefined' ? !0 : Na(i); 8645 } 8646 function Na(i) { 8647 let e, 8648 t = {}; 8649 return ( 8650 i.each((r) => { 8651 if (r.type === 'atrule') 8652 (e = '@' + r.name), 8653 r.params && (e += ' ' + r.params), 8654 typeof t[e] == 'undefined' 8655 ? (t[e] = Fa(r)) 8656 : Array.isArray(t[e]) 8657 ? t[e].push(Fa(r)) 8658 : (t[e] = [t[e], Fa(r)]); 8659 else if (r.type === 'rule') { 8660 let n = Na(r); 8661 if (t[r.selector]) for (let a in n) t[r.selector][a] = n[a]; 8662 else t[r.selector] = n; 8663 } else if (r.type === 'decl') { 8664 (r.prop[0] === '-' && r.prop[1] === '-') || (r.parent && r.parent.selector === ':export') 8665 ? (e = r.prop) 8666 : (e = PS(r.prop)); 8667 let n = r.value; 8668 !isNaN(r.value) && DS[e] && (n = parseFloat(r.value)), 8669 r.important && (n += ' !important'), 8670 typeof t[e] == 'undefined' 8671 ? (t[e] = n) 8672 : Array.isArray(t[e]) 8673 ? t[e].push(n) 8674 : (t[e] = [t[e], n]); 8675 } 8676 }), 8677 t 8678 ); 8679 } 8680 Up.exports = Na; 8681 }); 8682 var ln = v((P3, Yp) => { 8683 l(); 8684 var Yr = ge(), 8685 Wp = /\s*!important\s*$/i, 8686 IS = { 8687 'box-flex': !0, 8688 'box-flex-group': !0, 8689 'column-count': !0, 8690 flex: !0, 8691 'flex-grow': !0, 8692 'flex-positive': !0, 8693 'flex-shrink': !0, 8694 'flex-negative': !0, 8695 'font-weight': !0, 8696 'line-clamp': !0, 8697 'line-height': !0, 8698 opacity: !0, 8699 order: !0, 8700 orphans: !0, 8701 'tab-size': !0, 8702 widows: !0, 8703 'z-index': !0, 8704 zoom: !0, 8705 'fill-opacity': !0, 8706 'stroke-dashoffset': !0, 8707 'stroke-opacity': !0, 8708 'stroke-width': !0, 8709 }; 8710 function qS(i) { 8711 return i 8712 .replace(/([A-Z])/g, '-$1') 8713 .replace(/^ms-/, '-ms-') 8714 .toLowerCase(); 8715 } 8716 function Gp(i, e, t) { 8717 t === !1 || 8718 t === null || 8719 (e.startsWith('--') || (e = qS(e)), 8720 typeof t == 'number' && (t === 0 || IS[e] ? (t = t.toString()) : (t += 'px')), 8721 e === 'css-float' && (e = 'float'), 8722 Wp.test(t) 8723 ? ((t = t.replace(Wp, '')), i.push(Yr.decl({ prop: e, value: t, important: !0 }))) 8724 : i.push(Yr.decl({ prop: e, value: t }))); 8725 } 8726 function Hp(i, e, t) { 8727 let r = Yr.atRule({ name: e[1], params: e[3] || '' }); 8728 typeof t == 'object' && ((r.nodes = []), $a(t, r)), i.push(r); 8729 } 8730 function $a(i, e) { 8731 let t, r, n; 8732 for (t in i) 8733 if (((r = i[t]), !(r === null || typeof r == 'undefined'))) 8734 if (t[0] === '@') { 8735 let a = t.match(/@(\S+)(\s+([\W\w]*)\s*)?/); 8736 if (Array.isArray(r)) for (let s of r) Hp(e, a, s); 8737 else Hp(e, a, r); 8738 } else if (Array.isArray(r)) for (let a of r) Gp(e, t, a);
8739 else typeof r == 'object' ? ((n = Yr.rule({ selector: t })), $a(r, n), e.push(n)) : Gp(e, t, r); 8740 } 8741 Yp.exports = function (i) { 8742 let e = Yr.root(); 8743 return $a(i, e), e; 8744 }; 8745 }); 8746 var ja = v((D3, Qp) => { 8747 l(); 8748 var RS = La(); 8749 Qp.exports = function (e) { 8750 return ( 8751 console && 8752 console.warn && 8753 e.warnings().forEach((t) => { 8754 let r = t.plugin || 'PostCSS'; 8755 console.warn(r + ': ' + t.text); 8756 }), 8757 RS(e.root) 8758 ); 8759 }; 8760 }); 8761 var Xp = v((I3, Jp) => { 8762 l(); 8763 var MS = ge(), 8764 BS = ja(), 8765 FS = ln(); 8766 Jp.exports = function (e) { 8767 let t = MS(e); 8768 return async (r) => { 8769 let n = await t.process(r, { parser: FS, from: void 0 }); 8770 return BS(n); 8771 }; 8772 }; 8773 }); 8774 var Zp = v((q3, Kp) => { 8775 l(); 8776 var NS = ge(), 8777 LS = ja(), 8778 $S = ln(); 8779 Kp.exports = function (i) { 8780 let e = NS(i); 8781 return (t) => { 8782 let r = e.process(t, { parser: $S, from: void 0 }); 8783 return LS(r); 8784 }; 8785 }; 8786 }); 8787 var td = v((R3, ed) => { 8788 l(); 8789 var jS = La(), 8790 zS = ln(), 8791 VS = Xp(), 8792 US = Zp(); 8793 ed.exports = { objectify: jS, parse: zS, async: VS, sync: US }; 8794 }); 8795 var Rt, 8796 rd, 8797 M3, 8798 B3, 8799 F3, 8800 N3, 8801 id = C(() => { 8802 l(); 8803 (Rt = K(td())), 8804 (rd = Rt.default), 8805 (M3 = Rt.default.objectify), 8806 (B3 = Rt.default.parse), 8807 (F3 = Rt.default.async), 8808 (N3 = Rt.default.sync); 8809 }); 8810 function Mt(i) { 8811 return Array.isArray(i) 8812 ? i.flatMap( 8813 (e) => 8814 V([(0, nd.default)({ bubble: ['screen'] })]).process(e, { 8815 parser: rd, 8816 }).root.nodes, 8817 ) 8818 : Mt([i]); 8819 } 8820 var nd, 8821 za = C(() => { 8822 l(); 8823 nt(); 8824 nd = K(Lp()); 8825 id(); 8826 }); 8827 function Bt(i, e, t = !1) { 8828 if (i === '') return e; 8829 let r = typeof e == 'string' ? (0, sd.default)().astSync(e) : e; 8830 return ( 8831 r.walkClasses((n) => { 8832 let a = n.value, 8833 s = t && a.startsWith('-'); 8834 n.value = s ? `-${i}${a.slice(1)}` : `${i}${a}`; 8835 }), 8836 typeof e == 'string' ? r.toString() : r 8837 ); 8838 } 8839 var sd, 8840 un = C(() => { 8841 l(); 8842 sd = K(Re()); 8843 }); 8844 function de(i) { 8845 let e = ad.default.className(); 8846 return (e.value = i), mt(e?.raws?.value ?? e.value); 8847 } 8848 var ad, 8849 Ft = C(() => { 8850 l(); 8851 ad = K(Re()); 8852 mi(); 8853 }); 8854 function Va(i) { 8855 return mt(`.${de(i)}`); 8856 } 8857 function fn(i, e) { 8858 return Va(Qr(i, e)); 8859 } 8860 function Qr(i, e) { 8861 return e === 'DEFAULT' 8862 ? i 8863 : e === '-' || e === '-DEFAULT' 8864 ? `-${i}` 8865 : e.startsWith('-') 8866 ? `-${i}${e}` 8867 : e.startsWith('/') 8868 ? `${i}${e}` 8869 : `${i}-${e}`; 8870 } 8871 var Ua = C(() => { 8872 l(); 8873 Ft(); 8874 mi(); 8875 }); 8876 function P(i, e = [[i, [i]]], { filterDefault: t = !1, ...r } = {}) { 8877 let n = Ge(i); 8878 return function ({ matchUtilities: a, theme: s }) { 8879 for (let o of e) { 8880 let u = Array.isArray(o[0]) ? o : [o]; 8881 a( 8882 u.reduce( 8883 (c, [f, d]) => 8884 Object.assign(c, { 8885 [f]: (p) => 8886 d.reduce( 8887 (m, w) => 8888 Array.isArray(w) 8889 ? Object.assign(m, { [w[0]]: w[1] }) 8890 : Object.assign(m, { [w]: n(p) }), 8891 {}, 8892 ), 8893 }), 8894 {}, 8895 ), 8896 { 8897 ...r, 8898 values: t 8899 ? Object.fromEntries(Object.entries(s(i) ?? {}).filter(([c]) => c !== 'DEFAULT')) 8900 : s(i), 8901 }, 8902 ); 8903 } 8904 }; 8905 } 8906 var od = C(() => { 8907 l(); 8908 Hr(); 8909 }); 8910 function st(i) { 8911 return ( 8912 (i = Array.isArray(i) ? i : [i]), 8913 i 8914 .map((e) => { 8915 let t = e.values.map((r) => 8916 r.raw !== void 0 8917 ? r.raw 8918 : [r.min && `(min-width: ${r.min})`, r.max && `(max-width: ${r.max})`] 8919 .filter(Boolean) 8920 .join(' and '), 8921 ); 8922 return e.not ? `not all and ${t}` : t; 8923 }) 8924 .join(', ') 8925 ); 8926 } 8927 var cn = C(() => { 8928 l(); 8929 }); 8930 function Wa(i) { 8931 return i.split(XS).map((t) => { 8932 let r = t.trim(), 8933 n = { value: r }, 8934 a = r.split(KS), 8935 s = new Set(); 8936 for (let o of a) 8937 !s.has('DIRECTIONS') && WS.has(o) 8938 ? ((n.direction = o), s.add('DIRECTIONS')) 8939 : !s.has('PLAY_STATES') && GS.has(o) 8940 ? ((n.playState = o), s.add('PLAY_STATES')) 8941 : !s.has('FILL_MODES') && HS.has(o) 8942 ? ((n.fillMode = o), s.add('FILL_MODES')) 8943 : !s.has('ITERATION_COUNTS') && (YS.has(o) || ZS.test(o)) 8944 ? ((n.iterationCount = o), s.add('ITERATION_COUNTS')) 8945 : (!s.has('TIMING_FUNCTION') && QS.has(o)) || 8946 (!s.has('TIMING_FUNCTION') && JS.some((u) => o.startsWith(`${u}(`))) 8947 ? ((n.timingFunction = o), s.add('TIMING_FUNCTION')) 8948 : !s.has('DURATION') && ld.test(o) 8949 ? ((n.duration = o), s.add('DURATION')) 8950 : !s.has('DELAY') && ld.test(o) 8951 ? ((n.delay = o), s.add('DELAY')) 8952 : s.has('NAME') 8953 ? (n.unknown || (n.unknown = []), n.unknown.push(o)) 8954 : ((n.name = o), s.add('NAME')); 8955 return n; 8956 }); 8957 } 8958 var WS, 8959 GS, 8960 HS, 8961 YS, 8962 QS, 8963 JS, 8964 XS, 8965 KS, 8966 ld, 8967 ZS, 8968 ud = C(() => { 8969 l(); 8970 (WS = new Set(['normal', 'reverse', 'alternate', 'alternate-reverse'])), 8971 (GS = new Set(['running', 'paused'])), 8972 (HS = new Set(['none', 'forwards', 'backwards', 'both'])), 8973 (YS = new Set(['infinite'])), 8974 (QS = new Set(['linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out', 'step-start', 'step-end'])), 8975 (JS = ['cubic-bezier', 'steps']), 8976 (XS = /\,(?![^(]*\))/g), 8977 (KS = /\ +(?![^(]*\))/g), 8978 (ld = /^(-?[\d.]+m?s)$/), 8979 (ZS = /^(\d+)$/); 8980 }); 8981 var fd, 8982 ie, 8983 cd = C(() => { 8984 l(); 8985 (fd = (i) => 8986 Object.assign( 8987 {}, 8988 ...Object.entries(i ?? {}).flatMap(([e, t]) => 8989 typeof t == 'object' 8990 ? Object.entries(fd(t)).map(([r, n]) => ({ 8991 [e + (r === 'DEFAULT' ? '' : `-${r}`)]: n, 8992 })) 8993 : [{ [`${e}`]: t }], 8994 ), 8995 )), 8996 (ie = fd); 8997 }); 8998 var eC, 8999 Ha, 9000 tC, 9001 rC, 9002 iC, 9003 nC, 9004 sC, 9005 aC, 9006 oC, 9007 lC, 9008 uC, 9009 fC, 9010 cC, 9011 pC, 9012 dC, 9013 hC, 9014 mC, 9015 gC, 9016 Ya, 9017 Ga = C(() => { 9018 (eC = 'tailwindcss'), 9019 (Ha = '3.4.1'), 9020 (tC = 'A utility-first CSS framework for rapidly building custom user interfaces.'), 9021 (rC = 'MIT'), 9022 (iC = 'lib/index.js'), 9023 (nC = 'types/index.d.ts'), 9024 (sC = 'https://github.com/tailwindlabs/tailwindcss.git'), 9025 (aC = 'https://github.com/tailwindlabs/tailwindcss/issues'),
9026 (oC = 'https://tailwindcss.com'), 9027 (lC = { tailwind: 'lib/cli.js', tailwindcss: 'lib/cli.js' }), 9028 (uC = { engine: 'stable' }), 9029 (fC = { 9030 prebuild: 'npm run generate && rimraf lib', 9031 build: `swc src --out-dir lib --copy-files --config jsc.transform.optimizer.globals.vars.__OXIDE__='"false"'`, 9032 postbuild: 9033 'esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false', 9034 'rebuild-fixtures': 'npm run build && node -r @swc/register scripts/rebuildFixtures.js', 9035 style: 'eslint .', 9036 pretest: 'npm run generate', 9037 test: 'jest', 9038 'test:integrations': 'npm run test --prefix ./integrations', 9039 'install:integrations': 'node scripts/install-integrations.js', 9040 'generate:plugin-list': 'node -r @swc/register scripts/create-plugin-list.js', 9041 'generate:types': 'node -r @swc/register scripts/generate-types.js', 9042 generate: 'npm run generate:plugin-list && npm run generate:types', 9043 'release-channel': 'node ./scripts/release-channel.js', 9044 'release-notes': 'node ./scripts/release-notes.js', 9045 prepublishOnly: 'npm install --force && npm run build', 9046 }), 9047 (cC = [ 9048 'src/*', 9049 'cli/*', 9050 'lib/*', 9051 'peers/*', 9052 'scripts/*.js', 9053 'stubs/*', 9054 'nesting/*', 9055 'types/**/*', 9056 '*.d.ts', 9057 '*.css', 9058 '*.js', 9059 ]), 9060 (pC = { 9061 '@swc/cli': '^0.1.62', 9062 '@swc/core': '^1.3.55', 9063 '@swc/jest': '^0.2.26', 9064 '@swc/register': '^0.1.10', 9065 autoprefixer: '^10.4.14', 9066 browserslist: '^4.21.5', 9067 concurrently: '^8.0.1', 9068 cssnano: '^6.0.0', 9069 esbuild: '^0.17.18', 9070 eslint: '^8.39.0', 9071 'eslint-config-prettier': '^8.8.0', 9072 'eslint-plugin-prettier': '^4.2.1', 9073 jest: '^29.6.0', 9074 'jest-diff': '^29.6.0', 9075 lightningcss: '1.18.0', 9076 prettier: '^2.8.8', 9077 rimraf: '^5.0.0', 9078 'source-map-js': '^1.0.2', 9079 turbo: '^1.9.3', 9080 }), 9081 (dC = { 9082 '@alloc/quick-lru': '^5.2.0', 9083 arg: '^5.0.2', 9084 chokidar: '^3.5.3', 9085 didyoumean: '^1.2.2', 9086 dlv: '^1.1.3', 9087 'fast-glob': '^3.3.0', 9088 'glob-parent': '^6.0.2', 9089 'is-glob': '^4.0.3', 9090 jiti: '^1.19.1', 9091 lilconfig: '^2.1.0', 9092 micromatch: '^4.0.5', 9093 'normalize-path': '^3.0.0', 9094 'object-hash': '^3.0.0', 9095 picocolors: '^1.0.0', 9096 postcss: '^8.4.23', 9097 'postcss-import': '^15.1.0', 9098 'postcss-js': '^4.0.1', 9099 'postcss-load-config': '^4.0.1', 9100 'postcss-nested': '^6.0.1', 9101 'postcss-selector-parser': '^6.0.11', 9102 resolve: '^1.22.2', 9103 sucrase: '^3.32.0', 9104 }), 9105 (hC = ['> 1%', 'not edge <= 18', 'not ie 11', 'not op_mini all']), 9106 (mC = { 9107 testTimeout: 3e4, 9108 setupFilesAfterEnv: ['<rootDir>/jest/customMatchers.js'], 9109 testPathIgnorePatterns: [ 9110 '/node_modules/', 9111 '/integrations/', 9112 '/standalone-cli/', 9113 '\\.test\\.skip\\.js$', 9114 ], 9115 transformIgnorePatterns: ['node_modules/(?!lightningcss)'], 9116 transform: { '\\.js$': '@swc/jest', '\\.ts$': '@swc/jest' }, 9117 }), 9118 (gC = { node: '>=14.0.0' }), 9119 (Ya = { 9120 name: eC, 9121 version: Ha, 9122 description: tC, 9123 license: rC, 9124 main: iC, 9125 types: nC, 9126 repository: sC, 9127 bugs: aC, 9128 homepage: oC, 9129 bin: lC, 9130 tailwindcss: uC, 9131 scripts: fC, 9132 files: cC, 9133 devDependencies: pC, 9134 dependencies: dC, 9135 browserslist: hC, 9136 jest: mC, 9137 engines: gC, 9138 }); 9139 }); 9140 function at(i, e = !0) { 9141 return Array.isArray(i) 9142 ? i.map((t) => { 9143 if (e && Array.isArray(t)) throw new Error('The tuple syntax is not supported for `screens`.'); 9144 if (typeof t == 'string') 9145 return { 9146 name: t.toString(), 9147 not: !1, 9148 values: [{ min: t, max: void 0 }], 9149 }; 9150 let [r, n] = t; 9151 return ( 9152 (r = r.toString()), 9153 typeof n == 'string' 9154 ? { name: r, not: !1, values: [{ min: n, max: void 0 }] } 9155 : Array.isArray(n) 9156 ? { name: r, not: !1, values: n.map((a) =>
9156 dd(a)) } 9157 : { name: r, not: !1, values: [dd(n)] } 9158 ); 9159 }) 9160 : at(Object.entries(i ?? {}), !1); 9161 } 9162 function pn(i) { 9163 return i.values.length !== 1 9164 ? { result: !1, reason: 'multiple-values' } 9165 : i.values[0].raw !== void 0 9166 ? { result: !1, reason: 'raw-values' } 9167 : i.values[0].min !== void 0 && i.values[0].max !== void 0 9168 ? { result: !1, reason: 'min-and-max' } 9169 : { result: !0, reason: null }; 9170 } 9171 function pd(i, e, t) { 9172 let r = dn(e, i), 9173 n = dn(t, i), 9174 a = pn(r), 9175 s = pn(n); 9176 if (a.reason === 'multiple-values' || s.reason === 'multiple-values') 9177 throw new Error( 9178 'Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.', 9179 ); 9180 if (a.reason === 'raw-values' || s.reason === 'raw-values') 9181 throw new Error( 9182 'Attempted to sort a screen with raw values. This should never happen. Please open a bug report.', 9183 ); 9184 if (a.reason === 'min-and-max' || s.reason === 'min-and-max') 9185 throw new Error( 9186 'Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.', 9187 ); 9188 let { min: o, max: u } = r.values[0], 9189 { min: c, max: f } = n.values[0]; 9190 e.not && ([o, u] = [u, o]), 9191 t.not && ([c, f] = [f, c]), 9192 (o = o === void 0 ? o : parseFloat(o)), 9193 (u = u === void 0 ? u : parseFloat(u)), 9194 (c = c === void 0 ? c : parseFloat(c)), 9195 (f = f === void 0 ? f : parseFloat(f)); 9196 let [d, p] = i === 'min' ? [o, c] : [f, u]; 9197 return d - p; 9198 } 9199 function dn(i, e) { 9200 return typeof i == 'object' ? i : { name: 'arbitrary-screen', values: [{ [e]: i }] }; 9201 } 9202 function dd({ 'min-width': i, min: e = i, max: t, raw: r } = {}) { 9203 return { min: e, max: t, raw: r }; 9204 } 9205 var hn = C(() => { 9206 l(); 9207 }); 9208 function mn(i, e) { 9209 i.walkDecls((t) => { 9210 if (e.includes(t.prop)) { 9211 t.remove(); 9212 return; 9213 } 9214 for (let r of e) t.value.includes(`/ var(${r})`) && (t.value = t.value.replace(`/ var(${r})`, '')); 9215 }); 9216 } 9217 var hd = C(() => { 9218 l(); 9219 }); 9220 var Y, 9221 Te, 9222 Me, 9223 Be, 9224 md, 9225 gd = C(() => { 9226 l(); 9227 je(); 9228 gt(); 9229 nt(); 9230 od(); 9231 cn(); 9232 Ft(); 9233 ud(); 9234 cd(); 9235 or(); 9236 cs(); 9237 kt(); 9238 Hr(); 9239 Ga(); 9240 Oe(); 9241 hn(); 9242 ns(); 9243 hd(); 9244 ze(); 9245 fr(); 9246 Xr(); 9247 (Y = { 9248 childVariant: ({ addVariant: i }) => { 9249 i('*', '& > *'); 9250 }, 9251 pseudoElementVariants: ({ addVariant: i }) => { 9252 i('first-letter', '&::first-letter'), 9253 i('first-line', '&::first-line'), 9254 i('marker', [ 9255 ({ container: e }) => (mn(e, ['--tw-text-opacity']), '& *::marker'), 9256 ({ container: e }) => (mn(e, ['--tw-text-opacity']), '&::marker'), 9257 ]), 9258 i('selection', ['& *::selection', '&::selection']), 9259 i('file', '&::file-selector-button'), 9260 i('placeholder', '&::placeholder'), 9261 i('backdrop', '&::backdrop'), 9262 i( 9263 'before', 9264 ({ container: e }) => ( 9265 e.walkRules((t) => { 9266 let r = !1; 9267 t.walkDecls('content', () => { 9268 r = !0; 9269 }), 9270 r || t.prepend(V.decl({ prop: 'content', value: 'var(--tw-content)' })); 9271 }), 9272 '&::before' 9273 ), 9274 ), 9275 i( 9276 'after', 9277 ({ container: e }) => ( 9278 e.walkRules((t) => { 9279 let r = !1; 9280 t.walkDecls('content', () => { 9281 r = !0; 9282 }), 9283 r || t.prepend(V.decl({ prop: 'content', value: 'var(--tw-content)' })); 9284 }), 9285 '&::after' 9286 ), 9287 ); 9288 }, 9289 pseudoClassVariants: ({ addVariant: i, matchVariant: e, config: t, prefix: r }) => { 9290 let n = [ 9291 ['first', '&:first-child'], 9292 ['last', '&:last-child'], 9293 ['only', '&:only-child'], 9294 ['odd', '&:nth-child(odd)'], 9295 ['even', '&:nth-child(even)'], 9296 'first-of-type', 9297 'last-of-type', 9298 'only-of-type', 9299 [ 9300 'visited', 9301 ({ container: s }) => ( 9302 mn(s, ['--tw-text-opacity', '--tw-border-opacity', '--tw-bg-opacity']), '&:visited' 9303 ), 9304 ], 9305 'target', 9306 ['open', '&[open]'], 9307 'default', 9308 'checked', 9309 'indeterminate', 9310 'placeholder-shown', 9311 'autofill', 9312 'optional', 9313 'required', 9314 'valid', 9315 'invalid', 9316 'in-range', 9317 'out-of-range', 9318 'read-only', 9319 'empty',
9320 'focus-within', 9321 [ 9322 'hover', 9323 Z(t(), 'hoverOnlyWhenSupported') 9324 ? '@media (hover: hover) and (pointer: fine) { &:hover }' 9325 : '&:hover', 9326 ], 9327 'focus', 9328 'focus-visible', 9329 'active', 9330 'enabled', 9331 'disabled', 9332 ].map((s) => (Array.isArray(s) ? s : [s, `&:${s}`])); 9333 for (let [s, o] of n) i(s, (u) => (typeof o == 'function' ? o(u) : o)); 9334 let a = { 9335 group: (s, { modifier: o }) => 9336 o ? [`:merge(${r('.group')}\\/${de(o)})`, ' &'] : [`:merge(${r('.group')})`, ' &'], 9337 peer: (s, { modifier: o }) => 9338 o ? [`:merge(${r('.peer')}\\/${de(o)})`, ' ~ &'] : [`:merge(${r('.peer')})`, ' ~ &'], 9339 }; 9340 for (let [s, o] of Object.entries(a)) 9341 e( 9342 s, 9343 (u = '', c) => { 9344 let f = N(typeof u == 'function' ? u(c) : u); 9345 f.includes('&') || (f = '&' + f); 9346 let [d, p] = o('', c), 9347 m = null, 9348 w = null, 9349 x = 0; 9350 for (let y = 0; y < f.length; ++y) { 9351 let b = f[y]; 9352 b === '&' 9353 ? (m = y) 9354 : b === "'" || b === '"' 9355 ? (x += 1) 9356 : m !== null && b === ' ' && !x && (w = y); 9357 } 9358 return ( 9359 m !== null && w === null && (w = f.length), 9360 f.slice(0, m) + d + f.slice(m + 1, w) + p + f.slice(w) 9361 ); 9362 }, 9363 { values: Object.fromEntries(n), [Jr]: { respectPrefix: !1 } }, 9364 ); 9365 }, 9366 directionVariants: ({ addVariant: i }) => { 9367 i('ltr', '&:where([dir="ltr"], [dir="ltr"] *)'), i('rtl', '&:where([dir="rtl"], [dir="rtl"] *)'); 9368 }, 9369 reducedMotionVariants: ({ addVariant: i }) => { 9370 i('motion-safe', '@media (prefers-reduced-motion: no-preference)'), 9371 i('motion-reduce', '@media (prefers-reduced-motion: reduce)'); 9372 }, 9373 darkVariants: ({ config: i, addVariant: e }) => { 9374 let [t, r = '.dark'] = [].concat(i('darkMode', 'media')); 9375 if ( 9376 (t === !1 && 9377 ((t = 'media'), 9378 F.warn('darkmode-false', [ 9379 'The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.', 9380 'Change `darkMode` to `media` or remove it entirely.', 9381 'https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration', 9382 ])), 9383 t === 'variant') 9384 ) { 9385 let n; 9386 if ( 9387 (Array.isArray(r) || typeof r == 'function' ? (n = r) : typeof r == 'string' && (n = [r]), 9388 Array.isArray(n)) 9389 ) 9390 for (let a of n) 9391 a === '.dark' 9392 ? ((t = !1), 9393 F.warn('darkmode-variant-without-selector', [ 9394 'When using `variant` for `darkMode`, you must provide a selector.', 9395 'Example: `darkMode: ["variant", ".your-selector &"]`', 9396 ])) 9397 : a.includes('&') || 9398 ((t = !1), 9399 F.warn('darkmode-variant-without-ampersand', [ 9400 'When using `variant` for `darkMode`, your selector must contain `&`.', 9401 'Example `darkMode: ["variant", ".your-selector &"]`', 9402 ])); 9403 r = n; 9404 } 9405 t === 'selector' 9406 ? e('dark', `&:where(${r}, ${r} *)`) 9407 : t === 'media' 9408 ? e('dark', '@media (prefers-color-scheme: dark)') 9409 : t === 'variant' 9410 ? e('dark', r) 9411 : t === 'class' && e('dark', `:is(${r} &)`); 9412 }, 9413 printVariant: ({ addVariant: i }) => { 9414 i('print', '@media print'); 9415 }, 9416 screenVariants: ({ theme: i, addVariant: e, matchVariant: t }) => { 9417 let r = i('screens') ?? {}, 9418 n = Object.values(r).every((b) => typeof b == 'string'), 9419 a = at(i('screens')), 9420 s = new Set([]); 9421 function o(b) { 9422 return b.match(/(\D+)$/)?.[1] ?? '(none)'; 9423 } 9424 function u(b) { 9425 b !== void 0 && s.add(o(b)); 9426 } 9427 function c(b) { 9428 return u(b), s.size === 1; 9429 } 9430 for (let b of a) for (let k of b.values) u(k.min), u(k.max); 9431 let f = s.size <= 1; 9432 function d(b) { 9433 return Object.fromEntries( 9434 a 9435 .filter((k) => pn(k).result) 9436 .map((k) => { 9437 let { min: S, max: _ } = k.values[0]; 9438 if (b === 'min' && S !== void 0) return k; 9439 if (b === 'min' && _ !== void 0) return { ...k, not: !k.not }; 9440 if (b === 'max' && _ !== void 0) return k; 9441 if (b === 'max' && S !== void 0) return { ...k, not: !k.not }; 9442 }) 9443 .map((k) => [k.name, k]), 9444 ); 9445 } 9446 function p(b) { 9447 return (k, S) => pd(b, k.value, S.value); 9448 } 9449 let m = p('max'), 9450 w = p('min'); 9451 function x(b) { 9452 return (k) => { 9453 if (n) 9454 if (f) { 9455 if (typeof k == 'string' && !c(k)) 9456 return ( 9457 F.warn('minmax-have-mixed-units', [ 9458 'The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.', 9459 ]), 9460 [] 9461 ); 9462 } else 9463 return ( 9464 F.warn('mixed-screen-units', [ 9465 'The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.', 9466 ]), 9467 [] 9468 ); 9469 else 9470 return ( 9471 F.warn('complex-screen-config', [ 9472 'The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects.', 9473 ]), 9474 [] 9475 ); 9476 return [`@media ${st(dn(k, b))}`]; 9477 }; 9478 } 9479 t('max', x('max'), { sort: m, values: n ? d('max') : {} }); 9480 let y = 'min-screens'; 9481 for (let b of a) 9482 e(b.name, `@media ${st(b)}`, { 9483 id: y, 9484 sort: n && f ? w : void 0, 9485 value: b, 9486 });
9487 t('min', x('min'), { id: y, sort: w }); 9488 }, 9489 supportsVariants: ({ matchVariant: i, theme: e }) => { 9490 i( 9491 'supports', 9492 (t = '') => { 9493 let r = N(t), 9494 n = /^\w*\s*\(/.test(r); 9495 return ( 9496 (r = n ? r.replace(/\b(and|or|not)\b/g, ' $1 ') : r), 9497 n 9498 ? `@supports ${r}` 9499 : (r.includes(':') || (r = `${r}: var(--tw)`), 9500 (r.startsWith('(') && r.endsWith(')')) || (r = `(${r})`), 9501 `@supports ${r}`) 9502 ); 9503 }, 9504 { values: e('supports') ?? {} }, 9505 ); 9506 }, 9507 hasVariants: ({ matchVariant: i }) => { 9508 i('has', (e) => `&:has(${N(e)})`, { values: {} }), 9509 i( 9510 'group-has', 9511 (e, { modifier: t }) => 9512 t ? `:merge(.group\\/${t}):has(${N(e)}) &` : `:merge(.group):has(${N(e)}) &`, 9513 { values: {} }, 9514 ), 9515 i( 9516 'peer-has', 9517 (e, { modifier: t }) => 9518 t ? `:merge(.peer\\/${t}):has(${N(e)}) ~ &` : `:merge(.peer):has(${N(e)}) ~ &`, 9519 { values: {} }, 9520 ); 9521 }, 9522 ariaVariants: ({ matchVariant: i, theme: e }) => { 9523 i('aria', (t) => `&[aria-${N(t)}]`, { values: e('aria') ?? {} }), 9524 i( 9525 'group-aria', 9526 (t, { modifier: r }) => 9527 r ? `:merge(.group\\/${r})[aria-${N(t)}] &` : `:merge(.group)[aria-${N(t)}] &`, 9528 { values: e('aria') ?? {} }, 9529 ), 9530 i( 9531 'peer-aria', 9532 (t, { modifier: r }) => 9533 r ? `:merge(.peer\\/${r})[aria-${N(t)}] ~ &` : `:merge(.peer)[aria-${N(t)}] ~ &`, 9534 { values: e('aria') ?? {} }, 9535 ); 9536 }, 9537 dataVariants: ({ matchVariant: i, theme: e }) => { 9538 i('data', (t) => `&[data-${N(t)}]`, { values: e('data') ?? {} }), 9539 i( 9540 'group-data', 9541 (t, { modifier: r }) => 9542 r ? `:merge(.group\\/${r})[data-${N(t)}] &` : `:merge(.group)[data-${N(t)}] &`, 9543 { values: e('data') ?? {} }, 9544 ), 9545 i( 9546 'peer-data', 9547 (t, { modifier: r }) => 9548 r ? `:merge(.peer\\/${r})[data-${N(t)}] ~ &` : `:merge(.peer)[data-${N(t)}] ~ &`, 9549 { values: e('data') ?? {} }, 9550 ); 9551 }, 9552 orientationVariants: ({ addVariant: i }) => { 9553 i('portrait', '@media (orientation: portrait)'), i('landscape', '@media (orientation: landscape)'); 9554 }, 9555 prefersContrastVariants: ({ addVariant: i }) => { 9556 i('contrast-more', '@media (prefers-contrast: more)'), 9557 i('contrast-less', '@media (prefers-contrast: less)'); 9558 }, 9559 forcedColorsVariants: ({ addVariant: i }) => { 9560 i('forced-colors', '@media (forced-colors: active)'); 9561 }, 9562 }), 9563 (Te = [ 9564 'translate(var(--tw-translate-x), var(--tw-translate-y))', 9565 'rotate(var(--tw-rotate))', 9566 'skewX(var(--tw-skew-x))', 9567 'skewY(var(--tw-skew-y))', 9568 'scaleX(var(--tw-scale-x))', 9569 'scaleY(var(--tw-scale-y))', 9570 ].join(' ')), 9571 (Me = [ 9572 'var(--tw-blur)', 9573 'var(--tw-brightness)', 9574 'var(--tw-contrast)', 9575 'var(--tw-grayscale)', 9576 'var(--tw-hue-rotate)', 9577 'var(--tw-invert)', 9578 'var(--tw-saturate)', 9579 'var(--tw-sepia)', 9580 'var(--tw-drop-shadow)', 9581 ].join(' ')), 9582 (Be = [ 9583 'var(--tw-backdrop-blur)', 9584 'var(--tw-backdrop-brightness)', 9585 'var(--tw-backdrop-contrast)', 9586 'var(--tw-backdrop-grayscale)', 9587 'var(--tw-backdrop-hue-rotate)', 9588 'var(--tw-backdrop-invert)', 9589 'var(--tw-backdrop-opacity)', 9590 'var(--tw-backdrop-saturate)', 9591 'var(--tw-backdrop-sepia)', 9592 ].join(' ')), 9593 (md = { 9594 preflight: ({ addBase: i }) => { 9595 let e = V.parse( 9596 `*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:theme('borderColor.DEFAULT', currentColor)}::after,::before{--tw-content:''}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:theme('fontFamily.sans', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:theme('fontFamily.sans[1].fontFeatureSettings', normal);font-variation-settings:theme('fontFamily.sans[1].fontVariationSettings', normal);-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}
9596code,kbd,pre,samp{font-family:theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:theme('fontFamily.mono[1].fontFeatureSettings', normal);font-variation-settings:theme('fontFamily.mono[1].fontVariationSettings', normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:theme('colors.gray.4', #9ca3af)}
9596[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto}[hidden]{display:none}`, 9597 ); 9598 i([ 9599 V.comment({ 9600 text: `! tailwindcss v${Ha} | MIT License | https://tailwindcss.com`, 9601 }), 9602 ...e.nodes, 9603 ]); 9604 }, 9605 container: (() => { 9606 function i(t = []) { 9607 return t.flatMap((r) => r.values.map((n) => n.min)).filter((r) => r !== void 0); 9608 } 9609 function e(t, r, n) { 9610 if (typeof n == 'undefined') return []; 9611 if (!(typeof n == 'object' && n !== null)) 9612 return [{ screen: 'DEFAULT', minWidth: 0, padding: n }]; 9613 let a = []; 9614 n.DEFAULT && a.push({ screen: 'DEFAULT', minWidth: 0, padding: n.DEFAULT }); 9615 for (let s of t) 9616 for (let o of r) 9617 for (let { min: u } of o.values) 9618 u === s && a.push({ minWidth: s, padding: n[o.name] }); 9619 return a; 9620 } 9621 return function ({ addComponents: t, theme: r }) { 9622 let n = at(r('container.screens', r('screens'))), 9623 a = i(n), 9624 s = e(a, n, r('container.padding')), 9625 o = (c) => { 9626 let f = s.find((d) => d.minWidth === c); 9627 return f ? { paddingRight: f.padding, paddingLeft: f.padding } : {}; 9628 }, 9629 u = Array.from(new Set(a.slice().sort((c, f) => parseInt(c) - parseInt(f)))).map( 9630 (c) => ({ 9631 [`@media (min-width: ${c})`]: { 9632 '.container': { 'max-width': c, ...o(c) }, 9633 }, 9634 }), 9635 ); 9636 t([ 9637 { 9638 '.container': Object.assign( 9639 { width: '100%' }, 9640 r('container.center', !1) ? { marginRight: 'auto', marginLeft: 'auto' } : {}, 9641 o(0), 9642 ), 9643 }, 9644 ...u, 9645 ]); 9646 }; 9647 })(), 9648 accessibility: ({ addUtilities: i }) => { 9649 i({ 9650 '.sr-only': { 9651 position: 'absolute', 9652 width: '1px', 9653 height: '1px', 9654 padding: '0', 9655 margin: '-1px', 9656 overflow: 'hidden', 9657 clip: 'rect(0, 0, 0, 0)', 9658 whiteSpace: 'nowrap', 9659 borderWidth: '0', 9660 }, 9661 '.not-sr-only': { 9662 position: 'static', 9663 width: 'auto', 9664 height: 'auto', 9665 padding: '0', 9666 margin: '0', 9667 overflow: 'visible', 9668 clip: 'auto', 9669 whiteSpace: 'normal', 9670 }, 9671 }); 9672 }, 9673 pointerEvents: ({ addUtilities: i }) => { 9674 i({ 9675 '.pointer-events-none': { 'pointer-events': 'none' }, 9676 '.pointer-events-auto': { 'pointer-events': 'auto' }, 9677 }); 9678 }, 9679 visibility: ({ addUtilities: i }) => { 9680 i({ 9681 '.visible': { visibility: 'visible' }, 9682 '.invisible': { visibility: 'hidden' }, 9683 '.collapse': { visibility: 'collapse' }, 9684 }); 9685 }, 9686 position: ({ addUtilities: i }) => { 9687 i({ 9688 '.static': { position: 'static' }, 9689 '.fixed': { position: 'fixed' }, 9690 '.absolute': { position: 'absolute' }, 9691 '.relative': { position: 'relative' }, 9692 '.sticky': { position: 'sticky' }, 9693 }); 9694 }, 9695 inset: P( 9696 'inset', 9697 [ 9698 ['inset', ['inset']], 9699 [ 9700 ['inset-x', ['left', 'right']], 9701 ['inset-y', ['top', 'bottom']], 9702 ], 9703 [ 9704 ['start', ['inset-inline-start']], 9705 ['end', ['inset-inline-end']], 9706 ['top', ['top']], 9707 ['right', ['right']], 9708 ['bottom', ['bottom']], 9709 ['left', ['left']], 9710 ], 9711 ], 9712 { supportsNegativeValues: !0 }, 9713 ), 9714 isolation: ({ addUtilities: i }) => { 9715 i({ 9716 '.isolate': { isolation: 'isolate' }, 9717 '.isolation-auto': { isolation: 'auto' }, 9718 }); 9719 }, 9720 zIndex: P('zIndex', [['z', ['zIndex']]], { 9721 supportsNegativeValues: !0, 9722 }), 9723 order: P('order', void 0, { supportsNegativeValues: !0 }), 9724 gridColumn: P('gridColumn', [['col', ['gridColumn']]]), 9725 gridColumnStart: P('gridColumnStart', [['col-start', ['gridColumnStart']]]), 9726 gridColumnEnd: P('gridColumnEnd', [['col-end', ['gridColumnEnd']]]), 9727 gridRow: P('gridRow', [['row', ['gridRow']]]), 9728 gridRowStart: P('gridRowStart', [['row-start', ['gridRowStart']]]), 9729 gridRowEnd: P('gridRowEnd', [['row-end', ['gridRowEnd']]]), 9730 float: ({ addUtilities: i }) => { 9731 i({ 9732 '.float-start': { float: 'inline-start' }, 9733 '.float-end': { float: 'inline-end' }, 9734 '.float-right': { float: 'right' }, 9735 '.float-left': { float: 'left' }, 9736 '.float-none': { float: 'none' }, 9737 });
9738 }, 9739 clear: ({ addUtilities: i }) => { 9740 i({ 9741 '.clear-start': { clear: 'inline-start' }, 9742 '.clear-end': { clear: 'inline-end' }, 9743 '.clear-left': { clear: 'left' }, 9744 '.clear-right': { clear: 'right' }, 9745 '.clear-both': { clear: 'both' }, 9746 '.clear-none': { clear: 'none' }, 9747 }); 9748 }, 9749 margin: P( 9750 'margin', 9751 [ 9752 ['m', ['margin']], 9753 [ 9754 ['mx', ['margin-left', 'margin-right']], 9755 ['my', ['margin-top', 'margin-bottom']], 9756 ], 9757 [ 9758 ['ms', ['margin-inline-start']], 9759 ['me', ['margin-inline-end']], 9760 ['mt', ['margin-top']], 9761 ['mr', ['margin-right']], 9762 ['mb', ['margin-bottom']], 9763 ['ml', ['margin-left']], 9764 ], 9765 ], 9766 { supportsNegativeValues: !0 }, 9767 ), 9768 boxSizing: ({ addUtilities: i }) => { 9769 i({ 9770 '.box-border': { 'box-sizing': 'border-box' }, 9771 '.box-content': { 'box-sizing': 'content-box' }, 9772 }); 9773 }, 9774 lineClamp: ({ matchUtilities: i, addUtilities: e, theme: t }) => { 9775 i( 9776 { 9777 'line-clamp': (r) => ({ 9778 overflow: 'hidden', 9779 display: '-webkit-box', 9780 '-webkit-box-orient': 'vertical', 9781 '-webkit-line-clamp': `${r}`, 9782 }), 9783 }, 9784 { values: t('lineClamp') }, 9785 ), 9786 e({ 9787 '.line-clamp-none': { 9788 overflow: 'visible', 9789 display: 'block', 9790 '-webkit-box-orient': 'horizontal', 9791 '-webkit-line-clamp': 'none', 9792 }, 9793 }); 9794 }, 9795 display: ({ addUtilities: i }) => { 9796 i({ 9797 '.block': { display: 'block' }, 9798 '.inline-block': { display: 'inline-block' }, 9799 '.inline': { display: 'inline' }, 9800 '.flex': { display: 'flex' }, 9801 '.inline-flex': { display: 'inline-flex' }, 9802 '.table': { display: 'table' }, 9803 '.inline-table': { display: 'inline-table' }, 9804 '.table-caption': { display: 'table-caption' }, 9805 '.table-cell': { display: 'table-cell' }, 9806 '.table-column': { display: 'table-column' }, 9807 '.table-column-group': { display: 'table-column-group' }, 9808 '.table-footer-group': { display: 'table-footer-group' }, 9809 '.table-header-group': { display: 'table-header-group' }, 9810 '.table-row-group': { display: 'table-row-group' }, 9811 '.table-row': { display: 'table-row' }, 9812 '.flow-root': { display: 'flow-root' }, 9813 '.grid': { display: 'grid' }, 9814 '.inline-grid': { display: 'inline-grid' }, 9815 '.contents': { display: 'contents' }, 9816 '.list-item': { display: 'list-item' }, 9817 '.hidden': { display: 'none' }, 9818 }); 9819 }, 9820 aspectRatio: P('aspectRatio', [['aspect', ['aspect-ratio']]]), 9821 size: P('size', [['size', ['width', 'height']]]), 9822 height: P('height', [['h', ['height']]]), 9823 maxHeight: P('maxHeight', [['max-h', ['maxHeight']]]), 9824 minHeight: P('minHeight', [['min-h', ['minHeight']]]), 9825 width: P('width', [['w', ['width']]]), 9826 minWidth: P('minWidth', [['min-w', ['minWidth']]]), 9827 maxWidth: P('maxWidth', [['max-w', ['maxWidth']]]), 9828 flex: P('flex'), 9829 flexShrink: P('flexShrink', [ 9830 ['flex-shrink', ['flex-shrink']], 9831 ['shrink', ['flex-shrink']], 9832 ]), 9833 flexGrow: P('flexGrow', [ 9834 ['flex-grow', ['flex-grow']], 9835 ['grow', ['flex-grow']], 9836 ]), 9837 flexBasis: P('flexBasis', [['basis', ['flex-basis']]]), 9838 tableLayout: ({ addUtilities: i }) => { 9839 i({ 9840 '.table-auto': { 'table-layout': 'auto' }, 9841 '.table-fixed': { 'table-layout': 'fixed' }, 9842 }); 9843 }, 9844 captionSide: ({ addUtilities: i }) => { 9845 i({ 9846 '.caption-top': { 'caption-side': 'top' }, 9847 '.caption-bottom': { 'caption-side': 'bottom' }, 9848 }); 9849 }, 9850 borderCollapse: ({ addUtilities: i }) => { 9851 i({ 9852 '.border-collapse': { 'border-collapse': 'collapse' }, 9853 '.border-separate': { 'border-collapse': 'separate' }, 9854 }); 9855 }, 9856 borderSpacing: ({ addDefaults: i, matchUtilities: e, theme: t }) => { 9857 i('border-spacing', { 9858 '--tw-border-spacing-x': 0, 9859 '--tw-border-spacing-y': 0, 9860 }), 9861 e( 9862 { 9863 'border-spacing': (r) => ({ 9864 '--tw-border-spacing-x': r, 9865 '--tw-border-spacing-y': r, 9866 '@defaults border-spacing': {}, 9867 'border-spacing': 'var(--tw-border-spacing-x) var(--tw-border-spacing-y)', 9868 }), 9869 'border-spacing-x': (r) => ({ 9870 '--tw-border-spacing-x': r, 9871 '@defaults border-spacing': {}, 9872 'border-spacing': 'var(--tw-border-spacing-x) var(--tw-border-spacing-y)', 9873 }), 9874 'border-spacing-y': (r) => ({ 9875 '--tw-border-spacing-y': r, 9876 '@defaults border-spacing': {}, 9877 'border-spacing': 'var(--tw-border-spacing-x) var(--tw-border-spacing-y)', 9878 }), 9879 }, 9880 { values: t('borderSpacing') }, 9881 ); 9882 }, 9883 transformOrigin: P('transformOrigin', [['origin', ['transformOrigin']]]), 9884 translate: P( 9885 'translate', 9886 [ 9887 [ 9888 ['translate-x', [['@defaults transform', {}], '--tw-translate-x', ['transform', Te]]], 9889 ['translate-y', [['@defaults transform', {}], '--tw-translate-y', ['transform', Te]]], 9890 ], 9891 ], 9892 { supportsNegativeValues: !0 }, 9893 ), 9894 rotate: P('rotate', [['rotate', [['@defaults transform', {}], '--tw-rotate', ['transform', Te]]]], { 9895 supportsNegativeValues: !0, 9896 }), 9897 skew: P( 9898 'skew', 9899 [ 9900 [ 9901 ['skew-x', [['@defaults transform', {}], '--tw-skew-x', ['transform', Te]]], 9902 ['skew-y', [['@defaults transform', {}], '--tw-skew-y', ['transform', Te]]], 9903 ], 9904 ], 9905 { supportsNegativeValues: !0 }, 9906 ), 9907 scale: P( 9908 'scale', 9909 [ 9910 ['scale', [['@defaults transform', {}], '--tw-scale-x', '--tw-scale-y', ['transform', Te]]], 9911 [ 9912 ['scale-x', [['@defaults transform', {}], '--tw-scale-x', ['transform', Te]]], 9913 ['scale-y', [['@defaults transform', {}], '--tw-scale-y', ['transform', Te]]], 9914 ], 9915 ], 9916 { supportsNegativeValues: !0 }, 9917 ), 9918 transform: ({ addDefaults: i, addUtilities: e }) => { 9919 i('transform', { 9920 '--tw-translate-x': '0', 9921 '--tw-translate-y': '0', 9922 '--tw-rotate': '0', 9923 '--tw-skew-x': '0', 9924 '--tw-skew-y': '0', 9925 '--tw-scale-x': '1', 9926 '--tw-scale-y': '1', 9927 }), 9928 e({ 9929 '.transform': { '@defaults transform': {}, transform: Te }, 9930 '.transform-cpu': { transform: Te }, 9931 '.transform-gpu': { 9932 transform: Te.replace( 9933 'translate(var(--tw-translate-x), var(--tw-translate-y))', 9934 'translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)', 9935 ), 9936 }, 9937 '.transform-none': { transform: 'none' }, 9938 });
9939 }, 9940 animation: ({ matchUtilities: i, theme: e, config: t }) => { 9941 let r = (a) => de(t('prefix') + a), 9942 n = Object.fromEntries( 9943 Object.entries(e('keyframes') ?? {}).map(([a, s]) => [ 9944 a, 9945 { [`@keyframes ${r(a)}`]: s }, 9946 ]), 9947 ); 9948 i( 9949 { 9950 animate: (a) => { 9951 let s = Wa(a); 9952 return [ 9953 ...s.flatMap((o) => n[o.name]), 9954 { 9955 animation: s 9956 .map(({ name: o, value: u }) => 9957 o === void 0 || n[o] === void 0 ? u : u.replace(o, r(o)), 9958 ) 9959 .join(', '), 9960 }, 9961 ]; 9962 }, 9963 }, 9964 { values: e('animation') }, 9965 ); 9966 }, 9967 cursor: P('cursor'), 9968 touchAction: ({ addDefaults: i, addUtilities: e }) => { 9969 i('touch-action', { 9970 '--tw-pan-x': ' ', 9971 '--tw-pan-y': ' ', 9972 '--tw-pinch-zoom': ' ', 9973 }); 9974 let t = 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'; 9975 e({ 9976 '.touch-auto': { 'touch-action': 'auto' }, 9977 '.touch-none': { 'touch-action': 'none' }, 9978 '.touch-pan-x': { 9979 '@defaults touch-action': {}, 9980 '--tw-pan-x': 'pan-x', 9981 'touch-action': t, 9982 }, 9983 '.touch-pan-left': { 9984 '@defaults touch-action': {}, 9985 '--tw-pan-x': 'pan-left', 9986 'touch-action': t, 9987 }, 9988 '.touch-pan-right': { 9989 '@defaults touch-action': {}, 9990 '--tw-pan-x': 'pan-right', 9991 'touch-action': t, 9992 }, 9993 '.touch-pan-y': { 9994 '@defaults touch-action': {}, 9995 '--tw-pan-y': 'pan-y', 9996 'touch-action': t, 9997 }, 9998 '.touch-pan-up': { 9999 '@defaults touch-action': {}, 10000 '--tw-pan-y': 'pan-up', 10001 'touch-action': t, 10002 }, 10003 '.touch-pan-down': { 10004 '@defaults touch-action': {}, 10005 '--tw-pan-y': 'pan-down', 10006 'touch-action': t, 10007 }, 10008 '.touch-pinch-zoom': { 10009 '@defaults touch-action': {}, 10010 '--tw-pinch-zoom': 'pinch-zoom', 10011 'touch-action': t, 10012 }, 10013 '.touch-manipulation': { 'touch-action': 'manipulation' }, 10014 }); 10015 }, 10016 userSelect: ({ addUtilities: i }) => { 10017 i({ 10018 '.select-none': { 'user-select': 'none' }, 10019 '.select-text': { 'user-select': 'text' }, 10020 '.select-all': { 'user-select': 'all' }, 10021 '.select-auto': { 'user-select': 'auto' }, 10022 }); 10023 }, 10024 resize: ({ addUtilities: i }) => { 10025 i({ 10026 '.resize-none': { resize: 'none' }, 10027 '.resize-y': { resize: 'vertical' }, 10028 '.resize-x': { resize: 'horizontal' }, 10029 '.resize': { resize: 'both' }, 10030 }); 10031 }, 10032 scrollSnapType: ({ addDefaults: i, addUtilities: e }) => { 10033 i('scroll-snap-type', { 10034 '--tw-scroll-snap-strictness': 'proximity', 10035 }), 10036 e({ 10037 '.snap-none': { 'scroll-snap-type': 'none' }, 10038 '.snap-x': { 10039 '@defaults scroll-snap-type': {}, 10040 'scroll-snap-type': 'x var(--tw-scroll-snap-strictness)', 10041 }, 10042 '.snap-y': { 10043 '@defaults scroll-snap-type': {}, 10044 'scroll-snap-type': 'y var(--tw-scroll-snap-strictness)', 10045 }, 10046 '.snap-both': { 10047 '@defaults scroll-snap-type': {}, 10048 'scroll-snap-type': 'both var(--tw-scroll-snap-strictness)', 10049 }, 10050 '.snap-mandatory': { 10051 '--tw-scroll-snap-strictness': 'mandatory', 10052 }, 10053 '.snap-proximity': { 10054 '--tw-scroll-snap-strictness': 'proximity', 10055 }, 10056 }); 10057 }, 10058 scrollSnapAlign: ({ addUtilities: i }) => { 10059 i({ 10060 '.snap-start': { 'scroll-snap-align': 'start' }, 10061 '.snap-end': { 'scroll-snap-align': 'end' }, 10062 '.snap-center': { 'scroll-snap-align': 'center' }, 10063 '.snap-align-none': { 'scroll-snap-align': 'none' }, 10064 }); 10065 }, 10066 scrollSnapStop: ({ addUtilities: i }) => { 10067 i({ 10068 '.snap-normal': { 'scroll-snap-stop': 'normal' }, 10069 '.snap-always': { 'scroll-snap-stop': 'always' }, 10070 });
10071 }, 10072 scrollMargin: P( 10073 'scrollMargin', 10074 [ 10075 ['scroll-m', ['scroll-margin']], 10076 [ 10077 ['scroll-mx', ['scroll-margin-left', 'scroll-margin-right']], 10078 ['scroll-my', ['scroll-margin-top', 'scroll-margin-bottom']], 10079 ], 10080 [ 10081 ['scroll-ms', ['scroll-margin-inline-start']], 10082 ['scroll-me', ['scroll-margin-inline-end']], 10083 ['scroll-mt', ['scroll-margin-top']], 10084 ['scroll-mr', ['scroll-margin-right']], 10085 ['scroll-mb', ['scroll-margin-bottom']], 10086 ['scroll-ml', ['scroll-margin-left']], 10087 ], 10088 ], 10089 { supportsNegativeValues: !0 }, 10090 ), 10091 scrollPadding: P('scrollPadding', [ 10092 ['scroll-p', ['scroll-padding']], 10093 [ 10094 ['scroll-px', ['scroll-padding-left', 'scroll-padding-right']], 10095 ['scroll-py', ['scroll-padding-top', 'scroll-padding-bottom']], 10096 ], 10097 [ 10098 ['scroll-ps', ['scroll-padding-inline-start']], 10099 ['scroll-pe', ['scroll-padding-inline-end']], 10100 ['scroll-pt', ['scroll-padding-top']], 10101 ['scroll-pr', ['scroll-padding-right']], 10102 ['scroll-pb', ['scroll-padding-bottom']], 10103 ['scroll-pl', ['scroll-padding-left']], 10104 ], 10105 ]), 10106 listStylePosition: ({ addUtilities: i }) => { 10107 i({ 10108 '.list-inside': { 'list-style-position': 'inside' }, 10109 '.list-outside': { 'list-style-position': 'outside' }, 10110 }); 10111 }, 10112 listStyleType: P('listStyleType', [['list', ['listStyleType']]]), 10113 listStyleImage: P('listStyleImage', [['list-image', ['listStyleImage']]]), 10114 appearance: ({ addUtilities: i }) => { 10115 i({ 10116 '.appearance-none': { appearance: 'none' }, 10117 '.appearance-auto': { appearance: 'auto' }, 10118 }); 10119 }, 10120 columns: P('columns', [['columns', ['columns']]]), 10121 breakBefore: ({ addUtilities: i }) => { 10122 i({ 10123 '.break-before-auto': { 'break-before': 'auto' }, 10124 '.break-before-avoid': { 'break-before': 'avoid' }, 10125 '.break-before-all': { 'break-before': 'all' }, 10126 '.break-before-avoid-page': { 'break-before': 'avoid-page' }, 10127 '.break-before-page': { 'break-before': 'page' }, 10128 '.break-before-left': { 'break-before': 'left' }, 10129 '.break-before-right': { 'break-before': 'right' }, 10130 '.break-before-column': { 'break-before': 'column' }, 10131 }); 10132 }, 10133 breakInside: ({ addUtilities: i }) => { 10134 i({ 10135 '.break-inside-auto': { 'break-inside': 'auto' }, 10136 '.break-inside-avoid': { 'break-inside': 'avoid' }, 10137 '.break-inside-avoid-page': { 'break-inside': 'avoid-page' }, 10138 '.break-inside-avoid-column': { 'break-inside': 'avoid-column' }, 10139 }); 10140 }, 10141 breakAfter: ({ addUtilities: i }) => { 10142 i({ 10143 '.break-after-auto': { 'break-after': 'auto' }, 10144 '.break-after-avoid': { 'break-after': 'avoid' }, 10145 '.break-after-all': { 'break-after': 'all' }, 10146 '.break-after-avoid-page': { 'break-after': 'avoid-page' }, 10147 '.break-after-page': { 'break-after': 'page' }, 10148 '.break-after-left': { 'break-after': 'left' }, 10149 '.break-after-right': { 'break-after': 'right' }, 10150 '.break-after-column': { 'break-after': 'column' }, 10151 }); 10152 }, 10153 gridAutoColumns: P('gridAutoColumns', [['auto-cols', ['gridAutoColumns']]]), 10154 gridAutoFlow: ({ addUtilities: i }) => { 10155 i({ 10156 '.grid-flow-row': { gridAutoFlow: 'row' }, 10157 '.grid-flow-col': { gridAutoFlow: 'column' }, 10158 '.grid-flow-dense': { gridAutoFlow: 'dense' }, 10159 '.grid-flow-row-dense': { gridAutoFlow: 'row dense' }, 10160 '.grid-flow-col-dense': { gridAutoFlow: 'column dense' }, 10161 }); 10162 }, 10163 gridAutoRows: P('gridAutoRows', [['auto-rows', ['gridAutoRows']]]), 10164 gridTemplateColumns: P('gridTemplateColumns', [['grid-cols', ['gridTemplateColumns']]]), 10165 gridTemplateRows: P('gridTemplateRows', [['grid-rows', ['gridTemplateRows']]]), 10166 flexDirection: ({ addUtilities: i }) => { 10167 i({ 10168 '.flex-row': { 'flex-direction': 'row' }, 10169 '.flex-row-reverse': { 'flex-direction': 'row-reverse' }, 10170 '.flex-col': { 'flex-direction': 'column' }, 10171 '.flex-col-reverse': { 'flex-direction': 'column-reverse' }, 10172 });
10173 }, 10174 flexWrap: ({ addUtilities: i }) => { 10175 i({ 10176 '.flex-wrap': { 'flex-wrap': 'wrap' }, 10177 '.flex-wrap-reverse': { 'flex-wrap': 'wrap-reverse' }, 10178 '.flex-nowrap': { 'flex-wrap': 'nowrap' }, 10179 }); 10180 }, 10181 placeContent: ({ addUtilities: i }) => { 10182 i({ 10183 '.place-content-center': { 'place-content': 'center' }, 10184 '.place-content-start': { 'place-content': 'start' }, 10185 '.place-content-end': { 'place-content': 'end' }, 10186 '.place-content-between': { 'place-content': 'space-between' }, 10187 '.place-content-around': { 'place-content': 'space-around' }, 10188 '.place-content-evenly': { 'place-content': 'space-evenly' }, 10189 '.place-content-baseline': { 'place-content': 'baseline' }, 10190 '.place-content-stretch': { 'place-content': 'stretch' }, 10191 }); 10192 }, 10193 placeItems: ({ addUtilities: i }) => { 10194 i({ 10195 '.place-items-start': { 'place-items': 'start' }, 10196 '.place-items-end': { 'place-items': 'end' }, 10197 '.place-items-center': { 'place-items': 'center' }, 10198 '.place-items-baseline': { 'place-items': 'baseline' }, 10199 '.place-items-stretch': { 'place-items': 'stretch' }, 10200 }); 10201 }, 10202 alignContent: ({ addUtilities: i }) => { 10203 i({ 10204 '.content-normal': { 'align-content': 'normal' }, 10205 '.content-center': { 'align-content': 'center' }, 10206 '.content-start': { 'align-content': 'flex-start' }, 10207 '.content-end': { 'align-content': 'flex-end' }, 10208 '.content-between': { 'align-content': 'space-between' }, 10209 '.content-around': { 'align-content': 'space-around' }, 10210 '.content-evenly': { 'align-content': 'space-evenly' }, 10211 '.content-baseline': { 'align-content': 'baseline' }, 10212 '.content-stretch': { 'align-content': 'stretch' }, 10213 }); 10214 }, 10215 alignItems: ({ addUtilities: i }) => { 10216 i({ 10217 '.items-start': { 'align-items': 'flex-start' }, 10218 '.items-end': { 'align-items': 'flex-end' }, 10219 '.items-center': { 'align-items': 'center' }, 10220 '.items-baseline': { 'align-items': 'baseline' }, 10221 '.items-stretch': { 'align-items': 'stretch' }, 10222 }); 10223 }, 10224 justifyContent: ({ addUtilities: i }) => { 10225 i({ 10226 '.justify-normal': { 'justify-content': 'normal' }, 10227 '.justify-start': { 'justify-content': 'flex-start' }, 10228 '.justify-end': { 'justify-content': 'flex-end' }, 10229 '.justify-center': { 'justify-content': 'center' }, 10230 '.justify-between': { 'justify-content': 'space-between' }, 10231 '.justify-around': { 'justify-content': 'space-around' }, 10232 '.justify-evenly': { 'justify-content': 'space-evenly' }, 10233 '.justify-stretch': { 'justify-content': 'stretch' }, 10234 }); 10235 }, 10236 justifyItems: ({ addUtilities: i }) => { 10237 i({ 10238 '.justify-items-start': { 'justify-items': 'start' }, 10239 '.justify-items-end': { 'justify-items': 'end' }, 10240 '.justify-items-center': { 'justify-items': 'center' }, 10241 '.justify-items-stretch': { 'justify-items': 'stretch' }, 10242 }); 10243 }, 10244 gap: P('gap', [ 10245 ['gap', ['gap']], 10246 [ 10247 ['gap-x', ['columnGap']], 10248 ['gap-y', ['rowGap']], 10249 ], 10250 ]), 10251 space: ({ matchUtilities: i, addUtilities: e, theme: t }) => { 10252 i( 10253 { 10254 'space-x': (r) => ( 10255 (r = r === '0' ? '0px' : r), 10256 { 10257 '& > :not([hidden]) ~ :not([hidden])': { 10258 '--tw-space-x-reverse': '0', 10259 'margin-right': `calc(${r} * var(--tw-space-x-reverse))`, 10260 'margin-left': `calc(${r} * calc(1 - var(--tw-space-x-reverse)))`, 10261 }, 10262 } 10263 ), 10264 'space-y': (r) => ( 10265 (r = r === '0' ? '0px' : r), 10266 { 10267 '& > :not([hidden]) ~ :not([hidden])': { 10268 '--tw-space-y-reverse': '0', 10269 'margin-top': `calc(${r} * calc(1 - var(--tw-space-y-reverse)))`, 10270 'margin-bottom': `calc(${r} * var(--tw-space-y-reverse))`, 10271 }, 10272 } 10273 ), 10274 }, 10275 { values: t('space'), supportsNegativeValues: !0 }, 10276 ), 10277 e({ 10278 '.space-y-reverse > :not([hidden]) ~ :not([hidden])': { 10279 '--tw-space-y-reverse': '1', 10280 }, 10281 '.space-x-reverse > :not([hidden]) ~ :not([hidden])': { 10282 '--tw-space-x-reverse': '1', 10283 }, 10284 });
10285 }, 10286 divideWidth: ({ matchUtilities: i, addUtilities: e, theme: t }) => { 10287 i( 10288 { 10289 'divide-x': (r) => ( 10290 (r = r === '0' ? '0px' : r), 10291 { 10292 '& > :not([hidden]) ~ :not([hidden])': { 10293 '@defaults border-width': {}, 10294 '--tw-divide-x-reverse': '0', 10295 'border-right-width': `calc(${r} * var(--tw-divide-x-reverse))`, 10296 'border-left-width': `calc(${r} * calc(1 - var(--tw-divide-x-reverse)))`, 10297 }, 10298 } 10299 ), 10300 'divide-y': (r) => ( 10301 (r = r === '0' ? '0px' : r), 10302 { 10303 '& > :not([hidden]) ~ :not([hidden])': { 10304 '@defaults border-width': {}, 10305 '--tw-divide-y-reverse': '0', 10306 'border-top-width': `calc(${r} * calc(1 - var(--tw-divide-y-reverse)))`, 10307 'border-bottom-width': `calc(${r} * var(--tw-divide-y-reverse))`, 10308 }, 10309 } 10310 ), 10311 }, 10312 { 10313 values: t('divideWidth'), 10314 type: ['line-width', 'length', 'any'], 10315 }, 10316 ), 10317 e({ 10318 '.divide-y-reverse > :not([hidden]) ~ :not([hidden])': { 10319 '@defaults border-width': {}, 10320 '--tw-divide-y-reverse': '1', 10321 }, 10322 '.divide-x-reverse > :not([hidden]) ~ :not([hidden])': { 10323 '@defaults border-width': {}, 10324 '--tw-divide-x-reverse': '1', 10325 }, 10326 }); 10327 }, 10328 divideStyle: ({ addUtilities: i }) => { 10329 i({ 10330 '.divide-solid > :not([hidden]) ~ :not([hidden])': { 10331 'border-style': 'solid', 10332 }, 10333 '.divide-dashed > :not([hidden]) ~ :not([hidden])': { 10334 'border-style': 'dashed', 10335 }, 10336 '.divide-dotted > :not([hidden]) ~ :not([hidden])': { 10337 'border-style': 'dotted', 10338 }, 10339 '.divide-double > :not([hidden]) ~ :not([hidden])': { 10340 'border-style': 'double', 10341 }, 10342 '.divide-none > :not([hidden]) ~ :not([hidden])': { 10343 'border-style': 'none', 10344 }, 10345 }); 10346 }, 10347 divideColor: ({ matchUtilities: i, theme: e, corePlugins: t }) => { 10348 i( 10349 { 10350 divide: (r) => 10351 t('divideOpacity') 10352 ? { 10353 ['& > :not([hidden]) ~ :not([hidden])']: ae({ 10354 color: r, 10355 property: 'border-color', 10356 variable: '--tw-divide-opacity', 10357 }), 10358 } 10359 : { 10360 ['& > :not([hidden]) ~ :not([hidden])']: { 10361 'border-color': L(r), 10362 }, 10363 }, 10364 }, 10365 { 10366 values: (({ DEFAULT: r, ...n }) => n)(ie(e('divideColor'))), 10367 type: ['color', 'any'], 10368 }, 10369 ); 10370 }, 10371 divideOpacity: ({ matchUtilities: i, theme: e }) => { 10372 i( 10373 { 10374 'divide-opacity': (t) => ({ 10375 ['& > :not([hidden]) ~ :not([hidden])']: { 10376 '--tw-divide-opacity': t, 10377 }, 10378 }), 10379 }, 10380 { values: e('divideOpacity') }, 10381 ); 10382 }, 10383 placeSelf: ({ addUtilities: i }) => { 10384 i({ 10385 '.place-self-auto': { 'place-self': 'auto' }, 10386 '.place-self-start': { 'place-self': 'start' }, 10387 '.place-self-end': { 'place-self': 'end' }, 10388 '.place-self-center': { 'place-self': 'center' }, 10389 '.place-self-stretch': { 'place-self': 'stretch' }, 10390 }); 10391 }, 10392 alignSelf: ({ addUtilities: i }) => { 10393 i({ 10394 '.self-auto': { 'align-self': 'auto' }, 10395 '.self-start': { 'align-self': 'flex-start' }, 10396 '.self-end': { 'align-self': 'flex-end' }, 10397 '.self-center': { 'align-self': 'center' }, 10398 '.self-stretch': { 'align-self': 'stretch' }, 10399 '.self-baseline': { 'align-self': 'baseline' }, 10400 }); 10401 }, 10402 justifySelf: ({ addUtilities: i }) => { 10403 i({ 10404 '.justify-self-auto': { 'justify-self': 'auto' }, 10405 '.justify-self-start': { 'justify-self': 'start' }, 10406 '.justify-self-end': { 'justify-self': 'end' }, 10407 '.justify-self-center': { 'justify-self': 'center' }, 10408 '.justify-self-stretch': { 'justify-self': 'stretch' }, 10409 });
10410 }, 10411 overflow: ({ addUtilities: i }) => { 10412 i({ 10413 '.overflow-auto': { overflow: 'auto' }, 10414 '.overflow-hidden': { overflow: 'hidden' }, 10415 '.overflow-clip': { overflow: 'clip' }, 10416 '.overflow-visible': { overflow: 'visible' }, 10417 '.overflow-scroll': { overflow: 'scroll' }, 10418 '.overflow-x-auto': { 'overflow-x': 'auto' }, 10419 '.overflow-y-auto': { 'overflow-y': 'auto' }, 10420 '.overflow-x-hidden': { 'overflow-x': 'hidden' }, 10421 '.overflow-y-hidden': { 'overflow-y': 'hidden' }, 10422 '.overflow-x-clip': { 'overflow-x': 'clip' }, 10423 '.overflow-y-clip': { 'overflow-y': 'clip' }, 10424 '.overflow-x-visible': { 'overflow-x': 'visible' }, 10425 '.overflow-y-visible': { 'overflow-y': 'visible' }, 10426 '.overflow-x-scroll': { 'overflow-x': 'scroll' }, 10427 '.overflow-y-scroll': { 'overflow-y': 'scroll' }, 10428 }); 10429 }, 10430 overscrollBehavior: ({ addUtilities: i }) => { 10431 i({ 10432 '.overscroll-auto': { 'overscroll-behavior': 'auto' }, 10433 '.overscroll-contain': { 'overscroll-behavior': 'contain' }, 10434 '.overscroll-none': { 'overscroll-behavior': 'none' }, 10435 '.overscroll-y-auto': { 'overscroll-behavior-y': 'auto' }, 10436 '.overscroll-y-contain': { 'overscroll-behavior-y': 'contain' }, 10437 '.overscroll-y-none': { 'overscroll-behavior-y': 'none' }, 10438 '.overscroll-x-auto': { 'overscroll-behavior-x': 'auto' }, 10439 '.overscroll-x-contain': { 'overscroll-behavior-x': 'contain' }, 10440 '.overscroll-x-none': { 'overscroll-behavior-x': 'none' }, 10441 }); 10442 }, 10443 scrollBehavior: ({ addUtilities: i }) => { 10444 i({ 10445 '.scroll-auto': { 'scroll-behavior': 'auto' }, 10446 '.scroll-smooth': { 'scroll-behavior': 'smooth' }, 10447 }); 10448 }, 10449 textOverflow: ({ addUtilities: i }) => { 10450 i({ 10451 '.truncate': { 10452 overflow: 'hidden', 10453 'text-overflow': 'ellipsis', 10454 'white-space': 'nowrap', 10455 }, 10456 '.overflow-ellipsis': { 'text-overflow': 'ellipsis' }, 10457 '.text-ellipsis': { 'text-overflow': 'ellipsis' }, 10458 '.text-clip': { 'text-overflow': 'clip' }, 10459 }); 10460 }, 10461 hyphens: ({ addUtilities: i }) => { 10462 i({ 10463 '.hyphens-none': { hyphens: 'none' }, 10464 '.hyphens-manual': { hyphens: 'manual' }, 10465 '.hyphens-auto': { hyphens: 'auto' }, 10466 }); 10467 }, 10468 whitespace: ({ addUtilities: i }) => { 10469 i({ 10470 '.whitespace-normal': { 'white-space': 'normal' }, 10471 '.whitespace-nowrap': { 'white-space': 'nowrap' }, 10472 '.whitespace-pre': { 'white-space': 'pre' }, 10473 '.whitespace-pre-line': { 'white-space': 'pre-line' }, 10474 '.whitespace-pre-wrap': { 'white-space': 'pre-wrap' }, 10475 '.whitespace-break-spaces': { 'white-space': 'break-spaces' }, 10476 }); 10477 }, 10478 textWrap: ({ addUtilities: i }) => { 10479 i({ 10480 '.text-wrap': { 'text-wrap': 'wrap' }, 10481 '.text-nowrap': { 'text-wrap': 'nowrap' }, 10482 '.text-balance': { 'text-wrap': 'balance' }, 10483 '.text-pretty': { 'text-wrap': 'pretty' }, 10484 }); 10485 }, 10486 wordBreak: ({ addUtilities: i }) => { 10487 i({ 10488 '.break-normal': { 10489 'overflow-wrap': 'normal', 10490 'word-break': 'normal', 10491 }, 10492 '.break-words': { 'overflow-wrap': 'break-word' }, 10493 '.break-all': { 'word-break': 'break-all' }, 10494 '.break-keep': { 'word-break': 'keep-all' }, 10495 }); 10496 }, 10497 borderRadius: P('borderRadius', [ 10498 ['rounded', ['border-radius']], 10499 [ 10500 ['rounded-s', ['border-start-start-radius', 'border-end-start-radius']], 10501 ['rounded-e', ['border-start-end-radius', 'border-end-end-radius']], 10502 ['rounded-t', ['border-top-left-radius', 'border-top-right-radius']], 10503 ['rounded-r', ['border-top-right-radius', 'border-bottom-right-radius']], 10504 ['rounded-b', ['border-bottom-right-radius', 'border-bottom-left-radius']], 10505 ['rounded-l', ['border-top-left-radius', 'border-bottom-left-radius']], 10506 ], 10507 [ 10508 ['rounded-ss', ['border-start-start-radius']], 10509 ['rounded-se', ['border-start-end-radius']], 10510 ['rounded-ee', ['border-end-end-radius']], 10511 ['rounded-es', ['border-end-start-radius']], 10512 ['rounded-tl', ['border-top-left-radius']], 10513 ['rounded-tr', ['border-top-right-radius']], 10514 ['rounded-br', ['border-bottom-right-radius']], 10515 ['rounded-bl', ['border-bottom-left-radius']], 10516 ], 10517 ]), 10518 borderWidth: P( 10519 'borderWidth', 10520 [ 10521 ['border', [['@defaults border-width', {}], 'border-width']], 10522 [ 10523 [ 10524 'border-x', 10525 [['@defaults border-width', {}], 'border-left-width', 'border-right-width'], 10526 ], 10527 [ 10528 'border-y', 10529 [['@defaults border-width', {}], 'border-top-width', 'border-bottom-width'], 10530 ], 10531 ], 10532 [ 10533 ['border-s', [['@defaults border-width', {}], 'border-inline-start-width']], 10534 ['border-e', [['@defaults border-width', {}], 'border-inline-end-width']], 10535 ['border-t', [['@defaults border-width', {}], 'border-top-width']], 10536 ['border-r', [['@defaults border-width', {}], 'border-right-width']], 10537 ['border-b', [['@defaults border-width', {}], 'border-bottom-width']], 10538 ['border-l', [['@defaults border-width', {}], 'border-left-width']], 10539 ], 10540 ], 10541 { type: ['line-width', 'length'] }, 10542 ), 10543 borderStyle: ({ addUtilities: i }) => { 10544 i({ 10545 '.border-solid': { 'border-style': 'solid' }, 10546 '.border-dashed': { 'border-style': 'dashed' }, 10547 '.border-dotted': { 'border-style': 'dotted' }, 10548 '.border-double': { 'border-style': 'double' }, 10549 '.border-hidden': { 'border-style': 'hidden' }, 10550 '.border-none': { 'border-style': 'none' }, 10551 });
10552 }, 10553 borderColor: ({ matchUtilities: i, theme: e, corePlugins: t }) => { 10554 i( 10555 { 10556 border: (r) => 10557 t('borderOpacity') 10558 ? ae({ 10559 color: r, 10560 property: 'border-color', 10561 variable: '--tw-border-opacity', 10562 }) 10563 : { 'border-color': L(r) }, 10564 }, 10565 { 10566 values: (({ DEFAULT: r, ...n }) => n)(ie(e('borderColor'))), 10567 type: ['color', 'any'], 10568 }, 10569 ), 10570 i( 10571 { 10572 'border-x': (r) => 10573 t('borderOpacity') 10574 ? ae({ 10575 color: r, 10576 property: ['border-left-color', 'border-right-color'], 10577 variable: '--tw-border-opacity', 10578 }) 10579 : { 10580 'border-left-color': L(r), 10581 'border-right-color': L(r), 10582 }, 10583 'border-y': (r) => 10584 t('borderOpacity') 10585 ? ae({ 10586 color: r, 10587 property: ['border-top-color', 'border-bottom-color'], 10588 variable: '--tw-border-opacity', 10589 }) 10590 : { 10591 'border-top-color': L(r), 10592 'border-bottom-color': L(r), 10593 }, 10594 }, 10595 { 10596 values: (({ DEFAULT: r, ...n }) => n)(ie(e('borderColor'))), 10597 type: ['color', 'any'], 10598 }, 10599 ), 10600 i( 10601 { 10602 'border-s': (r) => 10603 t('borderOpacity') 10604 ? ae({ 10605 color: r, 10606 property: 'border-inline-start-color', 10607 variable: '--tw-border-opacity', 10608 }) 10609 : { 'border-inline-start-color': L(r) }, 10610 'border-e': (r) => 10611 t('borderOpacity') 10612 ? ae({ 10613 color: r, 10614 property: 'border-inline-end-color', 10615 variable: '--tw-border-opacity', 10616 }) 10617 : { 'border-inline-end-color': L(r) }, 10618 'border-t': (r) => 10619 t('borderOpacity') 10620 ? ae({ 10621 color: r, 10622 property: 'border-top-color', 10623 variable: '--tw-border-opacity', 10624 }) 10625 : { 'border-top-color': L(r) }, 10626 'border-r': (r) => 10627 t('borderOpacity') 10628 ? ae({ 10629 color: r, 10630 property: 'border-right-color', 10631 variable: '--tw-border-opacity', 10632 }) 10633 : { 'border-right-color': L(r) }, 10634 'border-b': (r) => 10635 t('borderOpacity') 10636 ? ae({ 10637 color: r, 10638 property: 'border-bottom-color', 10639 variable: '--tw-border-opacity', 10640 }) 10641 : { 'border-bottom-color': L(r) }, 10642 'border-l': (r) => 10643 t('borderOpacity') 10644 ? ae({ 10645 color: r, 10646 property: 'border-left-color', 10647 variable: '--tw-border-opacity', 10648 }) 10649 : { 'border-left-color': L(r) }, 10650 }, 10651 { 10652 values: (({ DEFAULT: r, ...n }) => n)(ie(e('borderColor'))), 10653 type: ['color', 'any'], 10654 }, 10655 ); 10656 }, 10657 borderOpacity: P('borderOpacity', [['border-opacity', ['--tw-border-opacity']]]), 10658 backgroundColor: ({ matchUtilities: i, theme: e, corePlugins: t }) => { 10659 i( 10660 { 10661 bg: (r) => 10662 t('backgroundOpacity') 10663 ? ae({ 10664 color: r, 10665 property: 'background-color', 10666 variable: '--tw-bg-opacity', 10667 }) 10668 : { 'background-color': L(r) }, 10669 }, 10670 { values: ie(e('backgroundColor')), type: ['color', 'any'] }, 10671 ); 10672 }, 10673 backgroundOpacity: P('backgroundOpacity', [['bg-opacity', ['--tw-bg-opacity']]]), 10674 backgroundImage: P('backgroundImage', [['bg', ['background-image']]], { 10675 type: ['lookup', 'image', 'url'], 10676 }), 10677 gradientColorStops: (() => { 10678 function i(e) { 10679 return De(e, 0, 'rgb(255 255 255 / 0)'); 10680 } 10681 return function ({ matchUtilities: e, theme: t, addDefaults: r }) { 10682 r('gradient-color-stops', { 10683 '--tw-gradient-from-position': ' ',
10684 '--tw-gradient-via-position': ' ', 10685 '--tw-gradient-to-position': ' ', 10686 }); 10687 let n = { 10688 values: ie(t('gradientColorStops')), 10689 type: ['color', 'any'], 10690 }, 10691 a = { 10692 values: t('gradientColorStopPositions'), 10693 type: ['length', 'percentage'], 10694 }; 10695 e( 10696 { 10697 from: (s) => { 10698 let o = i(s); 10699 return { 10700 '@defaults gradient-color-stops': {}, 10701 '--tw-gradient-from': `${L(s)} var(--tw-gradient-from-position)`, 10702 '--tw-gradient-to': `${o} var(--tw-gradient-to-position)`, 10703 '--tw-gradient-stops': 'var(--tw-gradient-from), var(--tw-gradient-to)', 10704 }; 10705 }, 10706 }, 10707 n, 10708 ), 10709 e({ from: (s) => ({ '--tw-gradient-from-position': s }) }, a), 10710 e( 10711 { 10712 via: (s) => { 10713 let o = i(s); 10714 return { 10715 '@defaults gradient-color-stops': {}, 10716 '--tw-gradient-to': `${o} var(--tw-gradient-to-position)`, 10717 '--tw-gradient-stops': `var(--tw-gradient-from), ${L( 10718 s, 10719 )} var(--tw-gradient-via-position), var(--tw-gradient-to)`, 10720 }; 10721 }, 10722 }, 10723 n, 10724 ), 10725 e({ via: (s) => ({ '--tw-gradient-via-position': s }) }, a), 10726 e( 10727 { 10728 to: (s) => ({ 10729 '@defaults gradient-color-stops': {}, 10730 '--tw-gradient-to': `${L(s)} var(--tw-gradient-to-position)`, 10731 }), 10732 }, 10733 n, 10734 ), 10735 e({ to: (s) => ({ '--tw-gradient-to-position': s }) }, a); 10736 }; 10737 })(), 10738 boxDecorationBreak: ({ addUtilities: i }) => { 10739 i({ 10740 '.decoration-slice': { 'box-decoration-break': 'slice' }, 10741 '.decoration-clone': { 'box-decoration-break': 'clone' }, 10742 '.box-decoration-slice': { 'box-decoration-break': 'slice' }, 10743 '.box-decoration-clone': { 'box-decoration-break': 'clone' }, 10744 }); 10745 }, 10746 backgroundSize: P('backgroundSize', [['bg', ['background-size']]], { 10747 type: ['lookup', 'length', 'percentage', 'size'], 10748 }), 10749 backgroundAttachment: ({ addUtilities: i }) => { 10750 i({ 10751 '.bg-fixed': { 'background-attachment': 'fixed' }, 10752 '.bg-local': { 'background-attachment': 'local' }, 10753 '.bg-scroll': { 'background-attachment': 'scroll' }, 10754 }); 10755 }, 10756 backgroundClip: ({ addUtilities: i }) => { 10757 i({ 10758 '.bg-clip-border': { 'background-clip': 'border-box' }, 10759 '.bg-clip-padding': { 'background-clip': 'padding-box' }, 10760 '.bg-clip-content': { 'background-clip': 'content-box' }, 10761 '.bg-clip-text': { 'background-clip': 'text' }, 10762 }); 10763 }, 10764 backgroundPosition: P('backgroundPosition', [['bg', ['background-position']]], { 10765 type: ['lookup', ['position', { preferOnConflict: !0 }]], 10766 }), 10767 backgroundRepeat: ({ addUtilities: i }) => { 10768 i({ 10769 '.bg-repeat': { 'background-repeat': 'repeat' }, 10770 '.bg-no-repeat': { 'background-repeat': 'no-repeat' }, 10771 '.bg-repeat-x': { 'background-repeat': 'repeat-x' }, 10772 '.bg-repeat-y': { 'background-repeat': 'repeat-y' }, 10773 '.bg-repeat-round': { 'background-repeat': 'round' }, 10774 '.bg-repeat-space': { 'background-repeat': 'space' }, 10775 }); 10776 }, 10777 backgroundOrigin: ({ addUtilities: i }) => { 10778 i({ 10779 '.bg-origin-border': { 'background-origin': 'border-box' }, 10780 '.bg-origin-padding': { 'background-origin': 'padding-box' }, 10781 '.bg-origin-content': { 'background-origin': 'content-box' }, 10782 }); 10783 }, 10784 fill: ({ matchUtilities: i, theme: e }) => { 10785 i({ fill: (t) => ({ fill: L(t) }) }, { values: ie(e('fill')), type: ['color', 'any'] }); 10786 }, 10787 stroke: ({ matchUtilities: i, theme: e }) => { 10788 i( 10789 { stroke: (t) => ({ stroke: L(t) }) }, 10790 { values: ie(e('stroke')), type: ['color', 'url', 'any'] }, 10791 ); 10792 }, 10793 strokeWidth: P('strokeWidth', [['stroke', ['stroke-width']]], { 10794 type: ['length', 'number', 'percentage'], 10795 }), 10796 objectFit: ({ addUtilities: i }) => { 10797 i({ 10798 '.object-contain': { 'object-fit': 'contain' }, 10799 '.object-cover': { 'object-fit': 'cover' }, 10800 '.object-fill': { 'object-fit': 'fill' }, 10801 '.object-none': { 'object-fit': 'none' }, 10802 '.object-scale-down': { 'object-fit': 'scale-down' }, 10803 });
10804 }, 10805 objectPosition: P('objectPosition', [['object', ['object-position']]]), 10806 padding: P('padding', [ 10807 ['p', ['padding']], 10808 [ 10809 ['px', ['padding-left', 'padding-right']], 10810 ['py', ['padding-top', 'padding-bottom']], 10811 ], 10812 [ 10813 ['ps', ['padding-inline-start']], 10814 ['pe', ['padding-inline-end']], 10815 ['pt', ['padding-top']], 10816 ['pr', ['padding-right']], 10817 ['pb', ['padding-bottom']], 10818 ['pl', ['padding-left']], 10819 ], 10820 ]), 10821 textAlign: ({ addUtilities: i }) => { 10822 i({ 10823 '.text-left': { 'text-align': 'left' }, 10824 '.text-center': { 'text-align': 'center' }, 10825 '.text-right': { 'text-align': 'right' }, 10826 '.text-justify': { 'text-align': 'justify' }, 10827 '.text-start': { 'text-align': 'start' }, 10828 '.text-end': { 'text-align': 'end' }, 10829 }); 10830 }, 10831 textIndent: P('textIndent', [['indent', ['text-indent']]], { 10832 supportsNegativeValues: !0, 10833 }), 10834 verticalAlign: ({ addUtilities: i, matchUtilities: e }) => { 10835 i({ 10836 '.align-baseline': { 'vertical-align': 'baseline' }, 10837 '.align-top': { 'vertical-align': 'top' }, 10838 '.align-middle': { 'vertical-align': 'middle' }, 10839 '.align-bottom': { 'vertical-align': 'bottom' }, 10840 '.align-text-top': { 'vertical-align': 'text-top' }, 10841 '.align-text-bottom': { 'vertical-align': 'text-bottom' }, 10842 '.align-sub': { 'vertical-align': 'sub' }, 10843 '.align-super': { 'vertical-align': 'super' }, 10844 }), 10845 e({ align: (t) => ({ 'vertical-align': t }) }); 10846 }, 10847 fontFamily: ({ matchUtilities: i, theme: e }) => { 10848 i( 10849 { 10850 font: (t) => { 10851 let [r, n = {}] = Array.isArray(t) && ne(t[1]) ? t : [t], 10852 { fontFeatureSettings: a, fontVariationSettings: s } = n; 10853 return { 10854 'font-family': Array.isArray(r) ? r.join(', ') : r, 10855 ...(a === void 0 ? {} : { 'font-feature-settings': a }), 10856 ...(s === void 0 ? {} : { 'font-variation-settings': s }), 10857 }; 10858 }, 10859 }, 10860 { 10861 values: e('fontFamily'), 10862 type: ['lookup', 'generic-name', 'family-name'], 10863 }, 10864 ); 10865 }, 10866 fontSize: ({ matchUtilities: i, theme: e }) => { 10867 i( 10868 { 10869 text: (t, { modifier: r }) => { 10870 let [n, a] = Array.isArray(t) ? t : [t]; 10871 if (r) return { 'font-size': n, 'line-height': r }; 10872 let { 10873 lineHeight: s, 10874 letterSpacing: o, 10875 fontWeight: u, 10876 } = ne(a) ? a : { lineHeight: a }; 10877 return { 10878 'font-size': n, 10879 ...(s === void 0 ? {} : { 'line-height': s }), 10880 ...(o === void 0 ? {} : { 'letter-spacing': o }), 10881 ...(u === void 0 ? {} : { 'font-weight': u }), 10882 }; 10883 }, 10884 }, 10885 { 10886 values: e('fontSize'), 10887 modifiers: e('lineHeight'), 10888 type: ['absolute-size', 'relative-size', 'length', 'percentage'], 10889 }, 10890 ); 10891 }, 10892 fontWeight: P('fontWeight', [['font', ['fontWeight']]], { 10893 type: ['lookup', 'number', 'any'], 10894 }), 10895 textTransform: ({ addUtilities: i }) => { 10896 i({ 10897 '.uppercase': { 'text-transform': 'uppercase' }, 10898 '.lowercase': { 'text-transform': 'lowercase' }, 10899 '.capitalize': { 'text-transform': 'capitalize' }, 10900 '.normal-case': { 'text-transform': 'none' }, 10901 }); 10902 }, 10903 fontStyle: ({ addUtilities: i }) => { 10904 i({ 10905 '.italic': { 'font-style': 'italic' }, 10906 '.not-italic': { 'font-style': 'normal' }, 10907 }); 10908 }, 10909 fontVariantNumeric: ({ addDefaults: i, addUtilities: e }) => { 10910 let t = 10911 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'; 10912 i('font-variant-numeric', { 10913 '--tw-ordinal': ' ', 10914 '--tw-slashed-zero': ' ', 10915 '--tw-numeric-figure': ' ', 10916 '--tw-numeric-spacing': ' ', 10917 '--tw-numeric-fraction': ' ', 10918 }), 10919 e({ 10920 '.normal-nums': { 'font-variant-numeric': 'normal' }, 10921 '.ordinal': { 10922 '@defaults font-variant-numeric': {}, 10923 '--tw-ordinal': 'ordinal', 10924 'font-variant-numeric': t, 10925 }, 10926 '.slashed-zero': { 10927 '@defaults font-variant-numeric': {}, 10928 '--tw-slashed-zero': 'slashed-zero', 10929 'font-variant-numeric': t, 10930 }, 10931 '.lining-nums': { 10932 '@defaults font-variant-numeric': {}, 10933 '--tw-numeric-figure': 'lining-nums', 10934 'font-variant-numeric': t, 10935 }, 10936 '.oldstyle-nums': { 10937 '@defaults font-variant-numeric': {}, 10938 '--tw-numeric-figure': 'oldstyle-nums', 10939 'font-variant-numeric': t, 10940 }, 10941 '.proportional-nums': { 10942 '@defaults font-variant-numeric': {}, 10943 '--tw-numeric-spacing': 'proportional-nums', 10944 'font-variant-numeric': t, 10945 }, 10946 '.tabular-nums': { 10947 '@defaults font-variant-numeric': {}, 10948 '--tw-numeric-spacing': 'tabular-nums', 10949 'font-variant-numeric': t, 10950 }, 10951 '.diagonal-fractions': { 10952 '@defaults font-variant-numeric': {}, 10953 '--tw-numeric-fraction': 'diagonal-fractions', 10954 'font-variant-numeric': t, 10955 }, 10956 '.stacked-fractions': { 10957 '@defaults font-variant-numeric': {}, 10958 '--tw-numeric-fraction': 'stacked-fractions', 10959 'font-variant-numeric': t, 10960 }, 10961 });
10962 }, 10963 lineHeight: P('lineHeight', [['leading', ['lineHeight']]]), 10964 letterSpacing: P('letterSpacing', [['tracking', ['letterSpacing']]], { 10965 supportsNegativeValues: !0, 10966 }), 10967 textColor: ({ matchUtilities: i, theme: e, corePlugins: t }) => { 10968 i( 10969 { 10970 text: (r) => 10971 t('textOpacity') 10972 ? ae({ 10973 color: r, 10974 property: 'color', 10975 variable: '--tw-text-opacity', 10976 }) 10977 : { color: L(r) }, 10978 }, 10979 { values: ie(e('textColor')), type: ['color', 'any'] }, 10980 ); 10981 }, 10982 textOpacity: P('textOpacity', [['text-opacity', ['--tw-text-opacity']]]), 10983 textDecoration: ({ addUtilities: i }) => { 10984 i({ 10985 '.underline': { 'text-decoration-line': 'underline' }, 10986 '.overline': { 'text-decoration-line': 'overline' }, 10987 '.line-through': { 'text-decoration-line': 'line-through' }, 10988 '.no-underline': { 'text-decoration-line': 'none' }, 10989 }); 10990 }, 10991 textDecorationColor: ({ matchUtilities: i, theme: e }) => { 10992 i( 10993 { decoration: (t) => ({ 'text-decoration-color': L(t) }) }, 10994 { values: ie(e('textDecorationColor')), type: ['color', 'any'] }, 10995 ); 10996 }, 10997 textDecorationStyle: ({ addUtilities: i }) => { 10998 i({ 10999 '.decoration-solid': { 'text-decoration-style': 'solid' }, 11000 '.decoration-double': { 'text-decoration-style': 'double' }, 11001 '.decoration-dotted': { 'text-decoration-style': 'dotted' }, 11002 '.decoration-dashed': { 'text-decoration-style': 'dashed' }, 11003 '.decoration-wavy': { 'text-decoration-style': 'wavy' }, 11004 }); 11005 }, 11006 textDecorationThickness: P( 11007 'textDecorationThickness', 11008 [['decoration', ['text-decoration-thickness']]], 11009 { type: ['length', 'percentage'] }, 11010 ), 11011 textUnderlineOffset: P('textUnderlineOffset', [['underline-offset', ['text-underline-offset']]], { 11012 type: ['length', 'percentage', 'any'], 11013 }), 11014 fontSmoothing: ({ addUtilities: i }) => { 11015 i({ 11016 '.antialiased': { 11017 '-webkit-font-smoothing': 'antialiased', 11018 '-moz-osx-font-smoothing': 'grayscale', 11019 }, 11020 '.subpixel-antialiased': { 11021 '-webkit-font-smoothing': 'auto', 11022 '-moz-osx-font-smoothing': 'auto', 11023 }, 11024 }); 11025 }, 11026 placeholderColor: ({ matchUtilities: i, theme: e, corePlugins: t }) => { 11027 i( 11028 { 11029 placeholder: (r) => 11030 t('placeholderOpacity') 11031 ? { 11032 '&::placeholder': ae({ 11033 color: r, 11034 property: 'color', 11035 variable: '--tw-placeholder-opacity', 11036 }), 11037 } 11038 : { '&::placeholder': { color: L(r) } }, 11039 }, 11040 { values: ie(e('placeholderColor')), type: ['color', 'any'] }, 11041 ); 11042 }, 11043 placeholderOpacity: ({ matchUtilities: i, theme: e }) => { 11044 i( 11045 { 11046 'placeholder-opacity': (t) => ({ 11047 ['&::placeholder']: { '--tw-placeholder-opacity': t }, 11048 }), 11049 }, 11050 { values: e('placeholderOpacity') }, 11051 ); 11052 }, 11053 caretColor: ({ matchUtilities: i, theme: e }) => { 11054 i( 11055 { caret: (t) => ({ 'caret-color': L(t) }) }, 11056 { values: ie(e('caretColor')), type: ['color', 'any'] }, 11057 ); 11058 }, 11059 accentColor: ({ matchUtilities: i, theme: e }) => { 11060 i( 11061 { accent: (t) => ({ 'accent-color': L(t) }) }, 11062 { values: ie(e('accentColor')), type: ['color', 'any'] }, 11063 ); 11064 }, 11065 opacity: P('opacity', [['opacity', ['opacity']]]), 11066 backgroundBlendMode: ({ addUtilities: i }) => { 11067 i({ 11068 '.bg-blend-normal': { 'background-blend-mode': 'normal' }, 11069 '.bg-blend-multiply': { 'background-blend-mode': 'multiply' }, 11070 '.bg-blend-screen': { 'background-blend-mode': 'screen' }, 11071 '.bg-blend-overlay': { 'background-blend-mode': 'overlay' }, 11072 '.bg-blend-darken': { 'background-blend-mode': 'darken' }, 11073 '.bg-blend-lighten': { 'background-blend-mode': 'lighten' }, 11074 '.bg-blend-color-dodge': { 11075 'background-blend-mode': 'color-dodge', 11076 }, 11077 '.bg-blend-color-burn': { 'background-blend-mode': 'color-burn' }, 11078 '.bg-blend-hard-light': { 'background-blend-mode': 'hard-light' }, 11079 '.bg-blend-soft-light': { 'background-blend-mode': 'soft-light' }, 11080 '.bg-blend-difference': { 'background-blend-mode': 'difference' }, 11081 '.bg-blend-exclusion': { 'background-blend-mode': 'exclusion' }, 11082 '.bg-blend-hue': { 'background-blend-mode': 'hue' }, 11083 '.bg-blend-saturation': { 'background-blend-mode': 'saturation' }, 11084 '.bg-blend-color': { 'background-blend-mode': 'color' }, 11085 '.bg-blend-luminosity': { 'background-blend-mode': 'luminosity' }, 11086 });
11087 }, 11088 mixBlendMode: ({ addUtilities: i }) => { 11089 i({ 11090 '.mix-blend-normal': { 'mix-blend-mode': 'normal' }, 11091 '.mix-blend-multiply': { 'mix-blend-mode': 'multiply' }, 11092 '.mix-blend-screen': { 'mix-blend-mode': 'screen' }, 11093 '.mix-blend-overlay': { 'mix-blend-mode': 'overlay' }, 11094 '.mix-blend-darken': { 'mix-blend-mode': 'darken' }, 11095 '.mix-blend-lighten': { 'mix-blend-mode': 'lighten' }, 11096 '.mix-blend-color-dodge': { 'mix-blend-mode': 'color-dodge' }, 11097 '.mix-blend-color-burn': { 'mix-blend-mode': 'color-burn' }, 11098 '.mix-blend-hard-light': { 'mix-blend-mode': 'hard-light' }, 11099 '.mix-blend-soft-light': { 'mix-blend-mode': 'soft-light' }, 11100 '.mix-blend-difference': { 'mix-blend-mode': 'difference' }, 11101 '.mix-blend-exclusion': { 'mix-blend-mode': 'exclusion' }, 11102 '.mix-blend-hue': { 'mix-blend-mode': 'hue' }, 11103 '.mix-blend-saturation': { 'mix-blend-mode': 'saturation' }, 11104 '.mix-blend-color': { 'mix-blend-mode': 'color' }, 11105 '.mix-blend-luminosity': { 'mix-blend-mode': 'luminosity' }, 11106 '.mix-blend-plus-lighter': { 'mix-blend-mode': 'plus-lighter' }, 11107 }); 11108 }, 11109 boxShadow: (() => { 11110 let i = Ge('boxShadow'), 11111 e = [ 11112 'var(--tw-ring-offset-shadow, 0 0 #0000)', 11113 'var(--tw-ring-shadow, 0 0 #0000)',
11114 'var(--tw-shadow)', 11115 ].join(', '); 11116 return function ({ matchUtilities: t, addDefaults: r, theme: n }) { 11117 r(' box-shadow', { 11118 '--tw-ring-offset-shadow': '0 0 #0000', 11119 '--tw-ring-shadow': '0 0 #0000', 11120 '--tw-shadow': '0 0 #0000', 11121 '--tw-shadow-colored': '0 0 #0000', 11122 }), 11123 t( 11124 { 11125 shadow: (a) => { 11126 a = i(a); 11127 let s = yi(a); 11128 for (let o of s) !o.valid || (o.color = 'var(--tw-shadow-color)'); 11129 return { 11130 '@defaults box-shadow': {}, 11131 '--tw-shadow': a === 'none' ? '0 0 #0000' : a, 11132 '--tw-shadow-colored': a === 'none' ? '0 0 #0000' : Iu(s), 11133 'box-shadow': e, 11134 }; 11135 }, 11136 }, 11137 { values: n('boxShadow'), type: ['shadow'] }, 11138 ); 11139 }; 11140 })(), 11141 boxShadowColor: ({ matchUtilities: i, theme: e }) => { 11142 i( 11143 { 11144 shadow: (t) => ({ 11145 '--tw-shadow-color': L(t), 11146 '--tw-shadow': 'var(--tw-sha
11146dow-colored)', 11147 }), 11148 }, 11149 { values: ie(e('boxShadowColor')), type: ['color', 'any'] }, 11150 ); 11151 }, 11152 outlineStyle: ({ addUtilities: i }) => { 11153 i({ 11154 '.outline-none': { 11155 outline: '2px solid transparent', 11156 'outline-offset': '2px', 11157 }, 11158 '.outline': { 'outline-style': 'solid' }, 11159 '.outline-dashed': { 'outline-style': 'dashed' }, 11160 '.outline-dotted': { 'outline-style': 'dotted' }, 11161 '.outline-double': { 'outline-style': 'double' }, 11162 }); 11163 }, 11164 outlineWidth: P('outlineWidth', [['outline', ['outline-width']]], { 11165 type: ['length', 'number', 'percentage'], 11166 }), 11167 outlineOffset: P('outlineOffset', [['outline-offset', ['outline-offset']]], { 11168 type: ['length', 'number', 'percentage', 'any'], 11169 supportsNegativeValues: !0, 11170 }), 11171 outlineColor: ({ matchUtilities: i, theme: e }) => { 11172 i( 11173 { outline: (t) => ({ 'outline-color': L(t) }) }, 11174 { values: ie(e('outlineColor')), type: ['color', 'any'] }, 11175 ); 11176 }, 11177 ringWidth: ({ matchUtilities: i, addDefaults: e, addUtilities: t, theme: r, config: n }) => { 11178 let a = (() => { 11179 if (Z(n(), 'respectDefaultRingColorOpacity')) return r('ringColor.DEFAULT'); 11180 let s = r('ringOpacity.DEFAULT', '0.5'); 11181 return r('ringColor')?.DEFAULT 11182 ? De(r('ringColor')?.DEFAULT, s, `rgb(147 197 253 / ${s})`) 11183 : `rgb(147 197 253 / ${s})`; 11184 })(); 11185 e('ring-width', { 11186 '--tw-ring-inset': ' ', 11187 '--tw-ring-offset-width': r('ringOffsetWidth.DEFAULT', '0px'), 11188 '--tw-ring-offset-color': r('ringOffsetColor.DEFAULT', '#fff'), 11189 '--tw-ring-color': a, 11190 '--tw-ring-offset-shadow': '0 0 #0000', 11191 '--tw-ring-shadow': '0 0 #0000', 11192 '--tw-shadow': '0 0 #0000', 11193 '--tw-shadow-colored': '0 0 #0000', 11194 }), 11195 i( 11196 { 11197 ring: (s) => ({ 11198 '@defaults ring-width': {}, 11199 '--tw-ring-offset-shadow': 11200 'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)', 11201 '--tw-ring-shadow': `var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`, 11202 'box-shadow': [ 11203 'var(--tw-ring-offset-shadow)', 11204 'var(--tw-ring-shadow)',
11205 'var(--tw-shadow, 0 0 #0000)', 11206 ].join(', '), 11207 }), 11208 }, 11209 { values: r('ringWidth'), type: 'length' }, 11210 ), 11211 t({ 11212 '.ring-inset': { 11213 '@defaults ring-width': {}, 11214 '--tw-ring-inset': 'inset', 11215 }, 11216 }); 11217 }, 11218 ringColor: ({ matchUtilities: i, theme: e, corePlugins: t }) => { 11219 i( 11220 { 11221 ring: (r) => 11222 t('ringOpacity') 11223 ? ae({ 11224 color: r, 11225 property: '--tw-ring-color', 11226 variable: '--tw-ring-opacity', 11227 }) 11228 : { '--tw-ring-color': L(r) }, 11229 }, 11230 { 11231 values: Object.fromEntries( 11232 Object.entries(ie(e('ringColor'))).filter(([r]) => r !== 'DEFAULT'), 11233 ), 11234 type: ['color', 'any'], 11235 }, 11236 ); 11237 }, 11238 ringOpacity: (i) => { 11239 let { config: e } = i; 11240 return P('ringOpacity', [['ring-opacity', ['--tw-ring-opacity']]], { 11241 filterDefault: !Z(e(), 'respectDefaultRingColorOpacity'), 11242 })(i); 11243 }, 11244 ringOffsetWidth: P('ringOffsetWidth', [['ring-offset', ['--tw-ring-offset-width']]], { 11245 type: 'length', 11246 }), 11247 ringOffsetColor: ({ matchUtilities: i, theme: e }) => { 11248 i( 11249 { 'ring-offset': (t) => ({ '--tw-ring-offset-color': L(t) }) }, 11250 { values: ie(e('ringOffsetColor')), type: ['color', 'any'] }, 11251 ); 11252 }, 11253 blur: ({ matchUtilities: i, theme: e }) => { 11254 i( 11255 { 11256 blur: (t) => ({ 11257 '--tw-blur': `blur(${t})`, 11258 '@defaults filter': {}, 11259 filter: Me, 11260 }), 11261 }, 11262 { values: e('blur') }, 11263 ); 11264 }, 11265 brightness: ({ matchUtilities: i, theme: e }) => { 11266 i( 11267 { 11268 brightness: (t) => ({ 11269 '--tw-brightness': `brightness(${t})`, 11270 '@defaults filter': {}, 11271 filter: Me, 11272 }), 11273 }, 11274 { values: e('brightness') }, 11275 ); 11276 }, 11277 contrast: ({ matchUtilities: i, theme: e }) => { 11278 i( 11279 { 11280 contrast: (t) => ({ 11281 '--tw-contrast': `contrast(${t})`, 11282 '@defaults filter': {}, 11283 filter: Me, 11284 }), 11285 }, 11286 { values: e('contrast') }, 11287 ); 11288 }, 11289 dropShadow: ({ matchUtilities: i, theme: e }) => { 11290 i( 11291 { 11292 'drop-shadow': (t) => ({ 11293 '--tw-drop-shadow': Array.isArray(t) 11294 ? t.map((r) => `drop-shadow(${r})`).join(' ') 11295 : `drop-shadow(${t})`, 11296 '@defaults filter': {}, 11297 filter: Me, 11298 }), 11299 }, 11300 { values: e('dropShadow') }, 11301 ); 11302 }, 11303 grayscale: ({ matchUtilities: i, theme: e }) => { 11304 i( 11305 { 11306 grayscale: (t) => ({ 11307 '--tw-grayscale': `grayscale(${t})`, 11308 '@defaults filter': {}, 11309 filter: Me, 11310 }), 11311 }, 11312 { values: e('grayscale') }, 11313 ); 11314 }, 11315 hueRotate: ({ matchUtilities: i, theme: e }) => { 11316 i( 11317 { 11318 'hue-rotate': (t) => ({ 11319 '--tw-hue-rotate': `hue-rotate(${t})`, 11320 '@defaults filter': {}, 11321 filter: Me, 11322 }), 11323 }, 11324 { values: e('hueRotate'), supportsNegativeValues: !0 }, 11325 ); 11326 }, 11327 invert: ({ matchUtilities: i, theme: e }) => { 11328 i( 11329 { 11330 invert: (t) => ({ 11331 '--tw-invert': `invert(${t})`, 11332 '@defaults filter': {}, 11333 filter: Me, 11334 }), 11335 }, 11336 { values: e('invert') }, 11337 ); 11338 }, 11339 saturate: ({ matchUtilities: i, theme: e }) => { 11340 i( 11341 { 11342 saturate: (t) => ({ 11343 '--tw-saturate': `saturate(${t})`, 11344 '@defaults filter': {}, 11345 filter: Me, 11346 }), 11347 }, 11348 { values: e('saturate') }, 11349 ); 11350 }, 11351 sepia: ({ matchUtilities: i, theme: e }) => { 11352 i( 11353 { 11354 sepia: (t) => ({ 11355 '--tw-sepia': `sepia(${t})`, 11356 '@defaults filter': {}, 11357 filter: Me, 11358 }), 11359 }, 11360 { values: e('sepia') }, 11361 ); 11362 }, 11363 filter: ({ addDefaults: i, addUtilities: e }) => { 11364 i('filter', { 11365 '--tw-blur': ' ', 11366 '--tw-brightness': ' ', 11367 '--tw-contrast': ' ', 11368 '--tw-grayscale': ' ', 11369 '--tw-hue-rotate': ' ', 11370 '--tw-invert': ' ', 11371 '--tw-saturate': ' ', 11372 '--tw-sepia': ' ', 11373 '--tw-drop-shadow': ' ', 11374 }), 11375 e({ 11376 '.filter': { '@defaults filter': {}, filter: Me }, 11377 '.filter-none': { filter: 'none' }, 11378 });
11379 }, 11380 backdropBlur: ({ matchUtilities: i, theme: e }) => { 11381 i( 11382 { 11383 'backdrop-blur': (t) => ({ 11384 '--tw-backdrop-blur': `blur(${t})`, 11385 '@defaults backdrop-filter': {}, 11386 'backdrop-filter': Be, 11387 }), 11388 }, 11389 { values: e('backdropBlur') }, 11390 ); 11391 }, 11392 backdropBrightness: ({ matchUtilities: i, theme: e }) => { 11393 i( 11394 { 11395 'backdrop-brightness': (t) => ({ 11396 '--tw-backdrop-brightness': `brightness(${t})`, 11397 '@defaults backdrop-filter': {}, 11398 'backdrop-filter': Be, 11399 }), 11400 }, 11401 { values: e('backdropBrightness') }, 11402 ); 11403 }, 11404 backdropContrast: ({ matchUtilities: i, theme: e }) => { 11405 i( 11406 { 11407 'backdrop-contrast': (t) => ({ 11408 '--tw-backdrop-contrast': `contrast(${t})`, 11409 '@defaults backdrop-filter': {}, 11410 'backdrop-filter': Be, 11411 }), 11412 }, 11413 { values: e('backdropContrast') }, 11414 ); 11415 }, 11416 backdropGrayscale: ({ matchUtilities: i, theme: e }) => { 11417 i( 11418 { 11419 'backdrop-grayscale': (t) => ({ 11420 '--tw-backdrop-grayscale': `grayscale(${t})`, 11421 '@defaults backdrop-filter': {}, 11422 'backdrop-filter': Be, 11423 }), 11424 }, 11425 { values: e('backdropGrayscale') }, 11426 ); 11427 }, 11428 backdropHueRotate: ({ matchUtilities: i, theme: e }) => { 11429 i( 11430 { 11431 'backdrop-hue-rotate': (t) => ({ 11432 '--tw-backdrop-hue-rotate': `hue-rotate(${t})`, 11433 '@defaults backdrop-filter': {}, 11434 'backdrop-filter': Be, 11435 }), 11436 }, 11437 { values: e('backdropHueRotate'), supportsNegativeValues: !0 }, 11438 ); 11439 }, 11440 backdropInvert: ({ matchUtilities: i, theme: e }) => { 11441 i( 11442 { 11443 'backdrop-invert': (t) => ({ 11444 '--tw-backdrop-invert': `invert(${t})`, 11445 '@defaults backdrop-filter': {}, 11446 'backdrop-filter': Be, 11447 }), 11448 }, 11449 { values: e('backdropInvert') }, 11450 ); 11451 }, 11452 backdropOpacity: ({ matchUtilities: i, theme: e }) => { 11453 i( 11454 { 11455 'backdrop-opacity': (t) => ({ 11456 '--tw-backdrop-opacity': `opacity(${t})`, 11457 '@defaults backdrop-filter': {}, 11458 'backdrop-filter': Be, 11459 }), 11460 }, 11461 { values: e('backdropOpacity') }, 11462 ); 11463 }, 11464 backdropSaturate: ({ matchUtilities: i, theme: e }) => { 11465 i( 11466 { 11467 'backdrop-saturate': (t) => ({ 11468 '--tw-backdrop-saturate': `saturate(${t})`, 11469 '@defaults backdrop-filter': {}, 11470 'backdrop-filter': Be, 11471 }), 11472 }, 11473 { values: e('backdropSaturate') }, 11474 ); 11475 }, 11476 backdropSepia: ({ matchUtilities: i, theme: e }) => { 11477 i( 11478 { 11479 'backdrop-sepia': (t) => ({ 11480 '--tw-backdrop-sepia': `sepia(${t})`, 11481 '@defaults backdrop-filter': {}, 11482 'backdrop-filter': Be, 11483 }), 11484 }, 11485 { values: e('backdropSepia') }, 11486 ); 11487 }, 11488 backdropFilter: ({ addDefaults: i, addUtilities: e }) => { 11489 i('backdrop-filter', { 11490 '--tw-backdrop-blur': ' ', 11491 '--tw-backdrop-brightness': ' ', 11492 '--tw-backdrop-contrast': ' ', 11493 '--tw-backdrop-grayscale': ' ', 11494 '--tw-backdrop-hue-rotate': ' ', 11495 '--tw-backdrop-invert': ' ', 11496 '--tw-backdrop-opacity': ' ', 11497 '--tw-backdrop-saturate': ' ', 11498 '--tw-backdrop-sepia': ' ', 11499 }), 11500 e({ 11501 '.backdrop-filter': { 11502 '@defaults backdrop-filter': {}, 11503 'backdrop-filter': Be, 11504 }, 11505 '.backdrop-filter-none': { 'backdrop-filter': 'none' }, 11506 }); 11507 }, 11508 transitionProperty: ({ matchUtilities: i, theme: e }) => { 11509 let t = e('transitionTimingFunction.DEFAULT'), 11510 r = e('transitionDuration.DEFAULT'); 11511 i( 11512 { 11513 transition: (n) => ({ 11514 'transition-property': n, 11515 ...(n === 'none' 11516 ? {} 11517 : { 11518 'transition-timing-function': t, 11519 'transition-duration': r, 11520 }), 11521 }), 11522 }, 11523 { values: e('transitionProperty') }, 11524 ); 11525 }, 11526 transitionDelay: P('transitionDelay', [['delay', ['transitionDelay']]]), 11527 transitionDuration: P('transitionDuration', [['duration', ['transitionDuration']]], { 11528 filterDefault: !0, 11529 }), 11530 transitionTimingFunction: P('transitionTimingFunction', [['ease', ['transitionTimingFunction']]], { 11531 filterDefault: !0, 11532 }), 11533 willChange: P('willChange', [['will-change', ['will-change']]]), 11534 content: P('content', [['content', ['--tw-content', ['content', 'var(--tw-content)']]]]), 11535 forcedColorAdjust: ({ addUtilities: i }) => { 11536 i({ 11537 '.forced-color-adjust-auto': { 'forced-color-adjust': 'auto' }, 11538 '.forced-color-adjust-none': { 'forced-color-adjust': 'none' }, 11539 });
11540 }, 11541 }); 11542 }); 11543 function yC(i) { 11544 if (i === void 0) return !1; 11545 if (i === 'true' || i === '1') return !0; 11546 if (i === 'false' || i === '0') return !1; 11547 if (i === '*') return !0; 11548 let e = i.split(',').map((t) => t.split(':')[0]); 11549 return e.includes('-tailwindcss') ? !1 : !!e.includes('tailwindcss'); 11550 } 11551 var Pe, 11552 yd, 11553 wd, 11554 gn, 11555 Qa, 11556 He, 11557 Kr, 11558 ot = C(() => { 11559 l(); 11560 Ga(); 11561 (Pe = 11562 typeof h != 'undefined' 11563 ? { 11564 NODE_ENV: 'production', 11565 DEBUG: yC(h.env.DEBUG), 11566 ENGINE: Ya.tailwindcss.engine, 11567 } 11568 : { 11569 NODE_ENV: 'production', 11570 DEBUG: !1, 11571 ENGINE: Ya.tailwindcss.engine, 11572 }), 11573 (yd = new Map()), 11574 (wd = new Map()), 11575 (gn = new Map()), 11576 (Qa = new Map()), 11577 (He = new String('*')), 11578 (Kr = Symbol('__NONE__')); 11579 }); 11580 function Nt(i) { 11581 let e = [], 11582 t = !1; 11583 for (let r = 0; r < i.length; r++) { 11584 let n = i[r]; 11585 if (n === ':' && !t && e.length === 0) return !1; 11586 if ((wC.has(n) && i[r - 1] !== '\\' && (t = !t), !t && i[r - 1] !== '\\')) { 11587 if (bd.has(n)) e.push(n); 11588 else if (vd.has(n)) { 11589 let a = vd.get(n); 11590 if (e.length <= 0 || e.pop() !== a) return !1; 11591 } 11592 } 11593 } 11594 return !(e.length > 0); 11595 } 11596 var bd, 11597 vd, 11598 wC, 11599 Ja = C(() => { 11600 l(); 11601 (bd = new Map([ 11602 ['{', '}'], 11603 ['[', ']'], 11604 ['(', ')'], 11605 ])), 11606 (vd = new Map(Array.from(bd.entries()).map(([i, e]) => [e, i]))), 11607 (wC = new Set(['"', "'", '`'])); 11608 }); 11609 function Lt(i) { 11610 let [e] = xd(i); 11611 return e.forEach(([t, r]) => t.removeChild(r)), i.nodes.push(...e.map(([, t]) => t)), i; 11612 } 11613 function xd(i) { 11614 let e = [], 11615 t = null; 11616 for (let r of i.nodes) 11617 if (r.type === 'combinator') (e = e.filter(([, n]) => Ka(n).includes('jumpable'))), (t = null); 11618 else if (r.type === 'pseudo') { 11619 bC(r) ? ((t = r), e.push([i, r, null])) : t && vC(r, t) ? e.push([i, r, t]) : (t = null); 11620 for (let n of r.nodes ?? []) { 11621 let [a, s] = xd(n); 11622 (t = s || t), e.push(...a); 11623 } 11624 } 11625 return [e, t]; 11626 } 11627 function kd(i) { 11628 return i.value.startsWith('::') || Xa[i.value] !== void 0; 11629 } 11630 function bC(i) { 11631 return kd(i) && Ka(i).includes('terminal'); 11632 } 11633 function vC(i, e) { 11634 return i.type !== 'pseudo' || kd(i) ? !1 : Ka(e).includes('actionable'); 11635 } 11636 function Ka(i) { 11637 return Xa[i.value] ?? Xa.__default__; 11638 } 11639 var Xa, 11640 yn = C(() => { 11641 l(); 11642 Xa = { 11643 '::after': ['terminal', 'jumpable'], 11644 '::backdrop': ['terminal', 'jumpable'], 11645 '::before': ['terminal', 'jumpable'], 11646 '::cue': ['terminal'], 11647 '::cue-region': ['terminal'], 11648 '::first-letter': ['terminal', 'jumpable'], 11649 '::first-line': ['terminal', 'jumpable'], 11650 '::grammar-error': ['terminal'], 11651 '::marker': ['terminal', 'jumpable'], 11652 '::part': ['terminal', 'actionable'], 11653 '::placeholder': ['terminal', 'jumpable'], 11654 '::selection': ['terminal', 'jumpable'], 11655 '::slotted': ['terminal'], 11656 '::spelling-error': ['terminal'], 11657 '::target-text': ['terminal'], 11658 '::file-selector-button': ['terminal', 'actionable'], 11659 '::deep': ['actionable'], 11660 '::v-deep': ['actionable'], 11661 '::ng-deep': ['actionable'], 11662 ':after': ['terminal', 'jumpable'], 11663 ':before': ['terminal', 'jumpable'], 11664 ':first-letter': ['terminal', 'jumpable'], 11665 ':first-line': ['terminal', 'jumpable'], 11666 ':where': [], 11667 ':is': [], 11668 ':has': [], 11669 __default__: ['terminal', 'actionable'], 11670 }; 11671 }); 11672 function $t(i, { context: e, candidate: t }) { 11673 let r = e?.tailwindConfig.prefix ?? '', 11674 n = i.map((s) => { 11675 let o = (0, Fe.default)().astSync(s.format); 11676 return { ...s, ast: s.respectPrefix ? Bt(r, o) : o }; 11677 }), 11678 a = Fe.default.root({ 11679 nodes: [ 11680 Fe.default.selector({ 11681 nodes: [Fe.default.className({ value: de(t) })], 11682 }), 11683 ], 11684 }); 11685 for (let { ast: s } of n) 11686 ([a, s] = kC(a, s)), s.walkNesting((o) => o.replaceWith(...a.nodes[0].nodes)), (a = s); 11687 return a; 11688 } 11689 function Cd(i) { 11690 let e = []; 11691 for (; i.prev() && i.prev().type !== 'combinator'; ) i = i.prev(); 11692 for (; i && i.type !== 'combinator'; ) e.push(i), (i = i.next()); 11693 return e; 11694 } 11695 function xC(i) { 11696 return ( 11697 i.sort((e, t) => 11698 e.type === 'tag' && t.type === 'class' 11699 ? -1 11700 : e.type === 'class' && t.type === 'tag' 11701 ? 1 11702 : e.type === 'class' && t.type === 'pseudo' && t.value.startsWith('::') 11703 ? -1 11704 : e.type === 'pseudo' && e.value.startsWith('::') && t.type === 'class' 11705 ? 1 11706 : i.index(e) - i.index(t), 11707 ), 11708 i 11709 ); 11710 } 11711 function eo(i, e) { 11712 let t = !1; 11713 i.walk((r) => { 11714 if (r.type === 'class' && r.value === e) return (t = !0), !1; 11715 }), 11716 t || i.remove(); 11717 } 11718 function wn(i, e, { context: t, candidate: r, base: n }) { 11719 let a = t?.tailwindConfig?.separator ?? ':'; 11720 n = n ?? oe(r, a).pop(); 11721 let s = (0, Fe.default)().astSync(i); 11722 if ( 11723 (s.walkClasses((f) => { 11724 f.raws && f.value.includes(n) && (f.raws.value = de((0, Sd.default)(f.raws.value))); 11725 }), 11726 s.each((f) => eo(f, n)), 11727 s.length === 0) 11728 ) 11729 return null;
11730 let o = Array.isArray(e) ? $t(e, { context: t, candidate: r }) : e; 11731 if (o === null) return s.toString(); 11732 let u = Fe.default.comment({ value: '/*__simple__*/' }), 11733 c = Fe.default.comment({ value: '/*__simple__*/' }); 11734 return ( 11735 s.walkClasses((f) => { 11736 if (f.value !== n) return; 11737 let d = f.parent, 11738 p = o.nodes[0].nodes; 11739 if (d.nodes.length === 1) { 11740 f.replaceWith(...p); 11741 return; 11742 } 11743 let m = Cd(f); 11744 d.insertBefore(m[0], u), d.insertAfter(m[m.length - 1], c); 11745 for (let x of p) d.insertBefore(m[0], x.clone()); 11746 f.remove(), (m = Cd(u)); 11747 let w = d.index(u); 11748 d.nodes.splice(w, m.length, ...xC(Fe.default.selector({ nodes: m })).nodes), u.remove(), c.remove(); 11749 }), 11750 s.walkPseudos((f) => { 11751 f.value === Za && f.replaceWith(f.nodes); 11752 }), 11753 s.each((f) => Lt(f)), 11754 s.toString() 11755 ); 11756 } 11757 function kC(i, e) { 11758 let t = []; 11759 return ( 11760 i.walkPseudos((r) => { 11761 r.value === Za && t.push({ pseudo: r, value: r.nodes[0].toString() }); 11762 }), 11763 e.walkPseudos((r) => { 11764 if (r.value !== Za) return; 11765 let n = r.nodes[0].toString(), 11766 a = t.find((c) => c.value === n); 11767 if (!a) return; 11768 let s = [], 11769 o = r.next(); 11770 for (; o && o.type !== 'combinator'; ) s.push(o), (o = o.next()); 11771 let u = o; 11772 a.pseudo.parent.insertAfter(a.pseudo, Fe.default.selector({ nodes: s.map((c) => c.clone()) })), 11773 r.remove(),
11774 s.forEach((c) => c.remove()), 11775 u && u.type === 'combinator' && u.remove(); 11776 }), 11777 [i, e] 11778 ); 11779 } 11780 var Fe, 11781 Sd, 11782 Za, 11783 to = C(() => { 11784 l(); 11785 (Fe = K(Re())), (Sd = K(Yi())); 11786 Ft(); 11787 un(); 11788 yn(); 11789 St(); 11790 Za = ':merge'; 11791 }); 11792 function bn(i, e) { 11793 let t = (0, ro.default)().astSync(i); 11794 return ( 11795 t.each((r) => { 11796 (r.nodes[0].type === 'pseudo' && 11797 r.nodes[0].value === ':is' && 11798 r.nodes.every((a) => a.type !== 'combinator')) || 11799 (r.nodes = [ro.default.pseudo({ value: ':is', nodes: [r.clone()] })]), 11800 Lt(r); 11801 }), 11802 `${e} ${t.toString()}` 11803 ); 11804 } 11805 var ro, 11806 io = C(() => { 11807 l(); 11808 ro = K(Re()); 11809 yn(); 11810 }); 11811 function no(i) { 11812 return SC.transformSync(i); 11813 } 11814 function* CC(i) { 11815 let e = 1 / 0; 11816 for (; e >= 0; ) { 11817 let t, 11818 r = !1; 11819 if (e === 1 / 0 && i.endsWith(']')) { 11820 let s = i.indexOf('['); 11821 i[s - 1] === '-' ? (t = s - 1) : i[s - 1] === '/' ? ((t = s - 1), (r = !0)) : (t = -1); 11822 } else e === 1 / 0 && i.includes('/') ? ((t = i.lastIndexOf('/')), (r = !0)) : (t = i.lastIndexOf('-', e)); 11823 if (t < 0) break; 11824 let n = i.slice(0, t), 11825 a = i.slice(r ? t : t + 1); 11826 (e = t - 1), !(n === '' || a === '/') && (yield [n, a]); 11827 } 11828 } 11829 function AC(i, e) { 11830 if (i.length === 0 || e.tailwindConfig.prefix === '') return i; 11831 for (let t of i) { 11832 let [r] = t; 11833 if (r.options.respectPrefix) { 11834 let n = V.root({ nodes: [t[1].clone()] }), 11835 a = t[1].raws.tailwind.classCandidate; 11836 n.walkRules((s) => { 11837 let o = a.startsWith('-'); 11838 s.selector = Bt(e.tailwindConfig.prefix, s.selector, o); 11839 }), 11840 (t[1] = n.nodes[0]); 11841 } 11842 } 11843 return i; 11844 } 11845 function _C(i, e) { 11846 if (i.length === 0) return i; 11847 let t = []; 11848 function r(n) { 11849 return n.parent && n.parent.type === 'atrule' && n.parent.name === 'keyframes'; 11850 } 11851 for (let [n, a] of i) { 11852 let s = V.root({ nodes: [a.clone()] }); 11853 s.walkRules((o) => { 11854 if (r(o)) return; 11855 let u = (0, vn.default)().astSync(o.selector); 11856 u.each((c) => eo(c, e)), 11857 Uu(u, (c) => (c === e ? `!${c}` : c)), 11858 (o.selector = u.toString()), 11859 o.walkDecls((c) => (c.important = !0)); 11860 }), 11861 t.push([{ ...n, important: !0 }, s.nodes[0]]); 11862 } 11863 return t; 11864 } 11865 function OC(i, e, t) { 11866 if (e.length === 0) return e; 11867 let r = { modifier: null, value: Kr }; 11868 { 11869 let [n, ...a] = oe(i, '/'); 11870 if ( 11871 (a.length > 1 && ((n = n + '/' + a.slice(0, -1).join('/')), (a = a.slice(-1))), 11872 a.length && 11873 !t.variantMap.has(i) && 11874 ((i = n), (r.modifier = a[0]), !Z(t.tailwindConfig, 'generalizedModifiers'))) 11875 ) 11876 return []; 11877 } 11878 if (i.endsWith(']') && !i.startsWith('[')) { 11879 let n = /(.)(-?)\[(.*)\]/g.exec(i); 11880 if (n) { 11881 let [, a, s, o] = n; 11882 if (a === '@' && s === '-') return []; 11883 if (a !== '@' && s === '') return []; 11884 (i = i.replace(`${s}[${o}]`, '')), (r.value = o); 11885 } 11886 } 11887 if (oo(i) && !t.variantMap.has(i)) { 11888 let n = t.offsets.recordVariant(i), 11889 a = N(i.slice(1, -1)), 11890 s = oe(a, ','); 11891 if (s.length > 1) return []; 11892 if (!s.every(Cn)) return []; 11893 let o = s.map((u, c) => [t.offsets.applyParallelOffset(n, c), Zr(u.trim())]); 11894 t.variantMap.set(i, o); 11895 } 11896 if (t.variantMap.has(i)) { 11897 let n = oo(i), 11898 a = t.variantOptions.get(i)?.[Jr] ?? {}, 11899 s = t.variantMap.get(i).slice(), 11900 o = [], 11901 u = (() => !(n || a.respectPrefix === !1))(); 11902 for (let [c, f] of e) { 11903 if (c.layer === 'user') continue; 11904 let d = V.root({ nodes: [f.clone()] }); 11905 for (let [p, m, w] of s) { 11906 let b = function () { 11907 x.raws.neededBackup || 11908 ((x.raws.neededBackup = !0), 11909 x.walkRules((O) => (O.raws.originalSelector = O.selector))); 11910 }, 11911 k = function (O) { 11912 return ( 11913 b(), 11914 x.each((I) => { 11915 I.type === 'rule' && 11916 (I.selectors = I.selectors.map((B) => 11917 O({ 11918 get className() { 11919 return no(B); 11920 }, 11921 selector: B, 11922 }), 11923 )); 11924 }), 11925 x 11926 ); 11927 }, 11928 x = (w ?? d).clone(), 11929 y = [],
11930 S = m({ 11931 get container() { 11932 return b(), x; 11933 }, 11934 separator: t.tailwindConfig.separator, 11935 modifySelectors: k, 11936 wrap(O) { 11937 let I = x.nodes; 11938 x.removeAll(), O.append(I), x.append(O); 11939 }, 11940 format(O) { 11941 y.push({ format: O, respectPrefix: u }); 11942 }, 11943 args: r, 11944 }); 11945 if (Array.isArray(S)) { 11946 for (let [O, I] of S.entries()) s.push([t.offsets.applyParallelOffset(p, O), I, x.clone()]); 11947 continue; 11948 } 11949 if ((typeof S == 'string' && y.push({ format: S, respectPrefix: u }), S === null)) continue; 11950 x.raws.neededBackup && 11951 (delete x.raws.neededBackup, 11952 x.walkRules((O) => { 11953 let I = O.raws.originalSelector; 11954 if (!I || (delete O.raws.originalSelector, I === O.selector)) return; 11955 let B = O.selector, 11956 q = (0, vn.default)((X) => { 11957 X.walkClasses((le) => { 11958 le.value = `${i}${t.tailwindConfig.separator}${le.value}`; 11959 }); 11960 }).processSync(I); 11961 y.push({ format: B.replace(q, '&'), respectPrefix: u }), (O.selector = I); 11962 })), 11963 (x.nodes[0].raws.tailwind = { 11964 ...x.nodes[0].raws.tailwind, 11965 parentLayer: c.layer, 11966 }); 11967 let _ = [ 11968 { 11969 ...c, 11970 sort: t.offsets.applyVariantOffset(c.sort, p, Object.assign(r, t.variantOptions.get(i))), 11971 collectedFormats: (c.collectedFormats ?? []).concat(y), 11972 }, 11973 x.nodes[0], 11974 ]; 11975 o.push(_); 11976 } 11977 } 11978 return o; 11979 } 11980 return []; 11981 } 11982 function so(i, e, t = {}) { 11983 return !ne(i) && !Array.isArray(i) 11984 ? [[i], t] 11985 : Array.isArray(i) 11986 ? so(i[0], e, i[1]) 11987 : (e.has(i) || e.set(i, Mt(i)), [e.get(i), t]); 11988 } 11989 function TC(i) { 11990 return EC.test(i); 11991 } 11992 function PC(i) { 11993 if (!i.includes('://')) return !1; 11994 try { 11995 let e = new URL(i); 11996 return e.scheme !== '' && e.host !== ''; 11997 } catch (e) { 11998 return !1; 11999 } 12000 } 12001 function Ad(i) { 12002 let e = !0; 12003 return ( 12004 i.walkDecls((t) => { 12005 if (!_d(t.prop, t.value)) return (e = !1), !1; 12006 }), 12007 e 12008 ); 12009 } 12010 function _d(i, e) { 12011 if (PC(`${i}:${e}`)) return !1; 12012 try { 12013 return V.parse(`a{${i}:${e}}`).toResult(), !0; 12014 } catch (t) { 12015 return !1; 12016 } 12017 } 12018 function DC(i, e) { 12019 let [, t, r] = i.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/) ?? []; 12020 if (r === void 0 || !TC(t) || !Nt(r)) return null; 12021 let n = N(r, { property: t }); 12022 return _d(t, n) 12023 ? [[{ sort: e.offsets.arbitraryProperty(), layer: 'utilities' }, () => ({ [Va(i)]: { [t]: n } })]] 12024 : null; 12025 } 12026 function* IC(i, e) { 12027 e.candidateRuleMap.has(i) && (yield [e.candidateRuleMap.get(i), 'DEFAULT']), 12028 yield* (function* (o) { 12029 o !== null && (yield [o, 'DEFAULT']); 12030 })(DC(i, e)); 12031 let t = i, 12032 r = !1, 12033 n = e.tailwindConfig.prefix, 12034 a = n.length, 12035 s = t.startsWith(n) || t.startsWith(`-${n}`); 12036 t[a] === '-' && s && ((r = !0), (t = n + t.slice(a + 1))), 12037 r && e.candidateRuleMap.has(t) && (yield [e.candidateRuleMap.get(t), '-DEFAULT']); 12038 for (let [o, u] of CC(t)) e.candidateRuleMap.has(o) && (yield [e.candidateRuleMap.get(o), r ? `-${u}` : u]); 12039 } 12040 function qC(i, e) { 12041 return i === He ? [He] : oe(i, e); 12042 } 12043 function* RC(i, e) { 12044 for (let t of i) 12045 (t[1].raws.tailwind = { 12046 ...t[1].raws.tailwind, 12047 classCandidate: e, 12048 preserveSource: t[0].options?.preserveSource ?? !1, 12049 }), 12050 yield t; 12051 } 12052 function* ao(i, e) { 12053 let t = e.tailwindConfig.separator, 12054 [r, ...n] = qC(i, t).reverse(), 12055 a = !1; 12056 r.startsWith('!') && ((a = !0), (r = r.slice(1))); 12057 for (let s of IC(r, e)) { 12058 let o = [], 12059 u = new Map(), 12060 [c, f] = s, 12061 d = c.length === 1; 12062 for (let [p, m] of c) { 12063 let w = []; 12064 if (typeof m == 'function') 12065 for (let x of [].concat(m(f, { isOnlyPlugin: d }))) { 12066 let [y, b] = so(x, e.postCssNodeCache); 12067 for (let k of y) w.push([{ ...p, options: { ...p.options, ...b } }, k]); 12068 } 12069 else if (f === 'DEFAULT' || f === '-DEFAULT') { 12070 let x = m, 12071 [y, b] = so(x, e.postCssNodeCache); 12072 for (let k of y) w.push([{ ...p, options: { ...p.options, ...b } }, k]); 12073 } 12074 if (w.length > 0) { 12075 let x = Array.from(fs(p.options?.types ?? [], f, p.options ?? {}, e.tailwindConfig)).map( 12076 ([y, b]) => b, 12077 ); 12078 x.length > 0 && u.set(w, x), o.push(w); 12079 } 12080 } 12081 if (oo(f)) { 12082 if (o.length > 1) { 12083 let w = function (y) { 12084 return y.length === 1 12085 ? y[0] 12086 : y.find((b) => { 12087 let k = u.get(b); 12088 return b.some(([{ options: S }, _]) => 12089 Ad(_) 12090 ? S.types.some(({ type: O, preferOnConflict: I }) => k.includes(O) && I) 12091 : !1, 12092 ); 12093 }); 12094 }, 12095 [p, m] = o.reduce( 12096 (y, b) => ( 12097 b.some(([{ options: S }]) => S.types.some(({ type: _ }) => _ === 'any')) 12098 ? y[0].push(b) 12099 : y[1].push(b), 12100 y 12101 ), 12102 [[], []], 12103 ), 12104 x = w(m) ?? w(p); 12105 if (x) o = [x]; 12106 else { 12107 let y = o.map((k) =>
12107 new Set([...(u.get(k) ?? [])])); 12108 for (let k of y) 12109 for (let S of k) { 12110 let _ = !1; 12111 for (let O of y) k !== O && O.has(S) && (O.delete(S), (_ = !0)); 12112 _ && k.delete(S); 12113 } 12114 let b = []; 12115 for (let [k, S] of y.entries()) 12116 for (let _ of S) { 12117 let O = o[k] 12118 .map(([, I]) => I) 12119 .flat() 12120 .map((I) => 12121 I.toString() 12122 .split( 12123 ` 12124`, 12125 ) 12126 .slice(1, -1) 12127 .map((B) => B.trim()) 12128 .map((B) => ` ${B}`).join(` 12129`), 12130 ).join(` 12131 12132`); 12133 b.push(` Use \`${i.replace('[', `[${_}:`)}\` for \`${O.trim()}\``); 12134 break; 12135 } 12136 F.warn([ 12137 `The class \`${i}\` is ambiguous and matches multiple utilities.`, 12138 ...b, 12139 `If this is content and not a class, replace it with \`${i 12140 .replace('[', '[') 12141 .replace(']', ']')}\` to silence this warning.`, 12142 ]); 12143 continue; 12144 } 12145 } 12146 o = o.map((p) => p.filter((m) => Ad(m[1]))); 12147 } 12148 (o = o.flat()), (o = Array.from(RC(o, r))), (o = AC(o, e)), a && (o = _C(o, r)); 12149 for (let p of n) o = OC(p, o, e); 12150 for (let p of o) 12151 (p[1].raws.tailwind = { ...p[1].raws.tailwind, candidate: i }), 12152 (p = MC(p, { context: e, candidate: i })), 12153 p !== null && (yield p); 12154 } 12155 } 12156 function MC(i, { context: e, candidate: t }) { 12157 if (!i[0].collectedFormats) return i; 12158 let r = !0, 12159 n; 12160 try { 12161 n = $t(i[0].collectedFormats, { context: e, candidate: t }); 12162 } catch { 12163 return null; 12164 } 12165 let a = V.root({ nodes: [i[1].clone()] }); 12166 return ( 12167 a.walkRules((s) => { 12168 if (!xn(s)) 12169 try { 12170 let o = wn(s.selector, n, { candidate: t, context: e }); 12171 if (o === null) { 12172 s.remove(); 12173 return; 12174 } 12175 s.selector = o; 12176 } catch { 12177 return (r = !1), !1; 12178 } 12179 }), 12180 !r || a.nodes.length === 0 ? null : ((i[1] = a.nodes[0]), i) 12181 ); 12182 } 12183 function xn(i) { 12184 return i.parent && i.parent.type === 'atrule' && i.parent.name === 'keyframes'; 12185 } 12186 function BC(i) { 12187 if (i === !0) 12188 return (e) => { 12189 xn(e) || 12190 e.walkDecls((t) => { 12191 t.parent.type === 'rule' && !xn(t.parent) && (t.important = !0); 12192 }); 12193 }; 12194 if (typeof i == 'string') 12195 return (e) => { 12196 xn(e) || (e.selectors = e.selectors.map((t) => bn(t, i))); 12197 }; 12198 } 12199 function kn(i, e, t = !1) { 12200 let r = [], 12201 n = BC(e.tailwindConfig.important); 12202 for (let a of i) { 12203 if (e.notClassCache.has(a)) continue; 12204 if (e.candidateRuleCache.has(a)) { 12205 r = r.concat(Array.from(e.candidateRuleCache.get(a))); 12206 continue; 12207 } 12208 let s = Array.from(ao(a, e)); 12209 if (s.length === 0) { 12210 e.notClassCache.add(a); 12211 continue; 12212 } 12213 e.classCache.set(a, s); 12214 let o = e.candidateRuleCache.get(a) ?? new Set(); 12215 e.candidateRuleCache.set(a, o); 12216 for (let u of s) { 12217 let [{ sort: c, options: f }, d] = u; 12218 if (f.respectImportant && n) { 12219 let m = V.root({ nodes: [d.clone()] }); 12220 m.walkRules(n), (d = m.nodes[0]); 12221 } 12222 let p = [c, t ? d.clone() : d]; 12223 o.add(p), e.ruleCache.add(p), r.push(p); 12224 } 12225 } 12226 return r; 12227 } 12228 function oo(i) { 12229 return i.startsWith('[') && i.endsWith(']'); 12230 } 12231 var vn, 12232 SC, 12233 EC, 12234 Sn = C(() => { 12235 l(); 12236 nt(); 12237 vn = K(Re()); 12238 za(); 12239 kt(); 12240 un(); 12241 cr(); 12242 Oe(); 12243 ot(); 12244 to(); 12245 Ua(); 12246 fr(); 12247 Xr(); 12248 Ja(); 12249 St(); 12250 ze(); 12251 io(); 12252 SC = (0, vn.default)((i) => i.first.filter(({ type: e }) => e === 'class').pop().value); 12253 EC = /^[a-z_-]/; 12254 }); 12255 var Od, 12256 Ed = C(() => { 12257 l(); 12258 Od = {}; 12259 }); 12260 function FC(i) { 12261 try { 12262 return Od.createHash('md5').update(i, 'utf-8').digest('binary'); 12263 } catch (e) { 12264 return ''; 12265 } 12266 } 12267 function Td(i, e) { 12268 let t = e.toString(); 12269 if (!t.includes('@tailwind')) return !1; 12270 let r = Qa.get(i), 12271 n = FC(t), 12272 a = r !== n; 12273 return Qa.set(i, n), a; 12274 } 12275 var Pd = C(() => { 12276 l(); 12277 Ed(); 12278 ot(); 12279 }); 12280 function An(i) { 12281 return (i > 0n) - (i < 0n); 12282 } 12283 var Dd = C(() => { 12284 l(); 12285 }); 12286 function Id(i, e) { 12287 let t = 0n, 12288 r = 0n; 12289 for (let [n, a] of e) i & n && ((t = t | n), (r = r | a)); 12290 return (i & ~t) | r; 12291 } 12292 var qd = C(() => { 12293 l(); 12294 }); 12295 function Rd(i) { 12296 let e = null; 12297 for (let t of i) (e = e ?? t), (e = e > t ? e : t); 12298 return e; 12299 } 12300 function NC(i, e) { 12301 let t = i.length, 12302 r = e.length, 12303 n = t < r ? t : r; 12304 for (let a = 0; a < n; a++) {
12305 let s = i.charCodeAt(a) - e.charCodeAt(a); 12306 if (s !== 0) return s; 12307 } 12308 return t - r; 12309 } 12310 var lo, 12311 Md = C(() => { 12312 l(); 12313 Dd(); 12314 qd(); 12315 lo = class { 12316 constructor() { 12317 (this.offsets = { 12318 defaults: 0n, 12319 base: 0n, 12320 components: 0n, 12321 utilities: 0n, 12322 variants: 0n, 12323 user: 0n, 12324 }), 12325 (this.layerPositions = { 12326 defaults: 0n, 12327 base: 1n, 12328 components: 2n, 12329 utilities: 3n, 12330 user: 4n, 12331 variants: 5n, 12332 }), 12333 (this.reservedVariantBits = 0n), 12334 (this.variantOffsets = new Map()); 12335 } 12336 create(e) { 12337 return { 12338 layer: e, 12339 parentLayer: e, 12340 arbitrary: 0n, 12341 variants: 0n, 12342 parallelIndex: 0n, 12343 index: this.offsets[e]++, 12344 options: [], 12345 }; 12346 } 12347 arbitraryProperty() { 12348 return { ...this.create('utilities'), arbitrary: 1n }; 12349 } 12350 forVariant(e, t = 0) { 12351 let r = this.variantOffsets.get(e); 12352 if (r === void 0) throw new Error(`Cannot find offset for unknown variant ${e}`); 12353 return { ...this.create('variants'), variants: r << BigInt(t) }; 12354 } 12355 applyVariantOffset(e, t, r) { 12356 return ( 12357 (r.variant = t.variants), 12358 { 12359 ...e, 12360 layer: 'variants', 12361 parentLayer: e.layer === 'variants' ? e.parentLayer : e.layer, 12362 variants: e.variants | t.variants, 12363 options: r.sort ? [].concat(r, e.options) : e.options, 12364 parallelIndex: Rd([e.parallelIndex, t.parallelIndex]), 12365 } 12366 ); 12367 } 12368 applyParallelOffset(e, t) { 12369 return { ...e, parallelIndex: BigInt(t) }; 12370 } 12371 recordVariants(e, t) { 12372 for (let r of e) this.recordVariant(r, t(r)); 12373 } 12374 recordVariant(e, t = 1) { 12375 return ( 12376 this.variantOffsets.set(e, 1n << this.reservedVariantBits), 12377 (this.reservedVariantBits += BigInt(t)), 12378 { ...this.create('variants'), variants: this.variantOffsets.get(e) } 12379 ); 12380 } 12381 compare(e, t) { 12382 if (e.layer !== t.layer) return this.layerPositions[e.layer] - this.layerPositions[t.layer]; 12383 if (e.parentLayer !== t.parentLayer) 12384 return this.layerPositions[e.parentLayer] - this.layerPositions[t.parentLayer]; 12385 for (let r of e.options) 12386 for (let n of t.options) { 12387 if (r.id !== n.id || !r.sort || !n.sort) continue; 12388 let a = Rd([r.variant, n.variant]) ?? 0n, 12389 s = ~(a | (a - 1n)), 12390 o = e.variants & s, 12391 u = t.variants & s; 12392 if (o !== u) continue; 12393 let c = r.sort( 12394 { value: r.value, modifier: r.modifier }, 12395 { value: n.value, modifier: n.modifier }, 12396 ); 12397 if (c !== 0) return c; 12398 } 12399 return e.variants !== t.variants 12400 ? e.variants - t.variants 12401 : e.parallelIndex !== t.parallelIndex 12402 ? e.parallelIndex - t.parallelIndex 12403 : e.arbitrary !== t.arbitrary 12404 ? e.arbitrary - t.arbitrary 12405 : e.index - t.index; 12406 } 12407 recalculateVariantOffsets() { 12408 let e = Array.from(this.variantOffsets.entries()) 12409 .filter(([n]) => n.startsWith('[')) 12410 .sort(([n], [a]) => NC(n, a)), 12411 t = e.map(([, n]) => n).sort((n, a) => An(n - a)); 12412 return e.map(([, n], a) => [n, t[a]]).filter(([n, a]) => n !== a); 12413 } 12414 remapArbitraryVariantOffsets(e) { 12415 let t = this.recalculateVariantOffsets(); 12416 return t.length === 0 12417 ? e 12418 : e.map((r) => { 12419 let [n, a] = r; 12420 return (n = { ...n, variants: Id(n.variants, t) }), [n, a]; 12421 }); 12422 } 12423 sort(e) { 12424 return (e = this.remapArbitraryVariantOffsets(e)), e.sort(([t], [r]) => An(this.compare(t, r))); 12425 } 12426 }; 12427 }); 12428 function po(i, e) { 12429 let t = i.tailwindConfig.prefix; 12430 return typeof t == 'function' ? t(e) : t + e; 12431 } 12432 function Fd({ type: i = 'any', ...e }) { 12433 let t = [].concat(i); 12434 return { 12435 ...e, 12436 types: t.map((r) => (Array.isArray(r) ? { type: r[0], ...r[1] } : { type: r, preferOnConflict: !1 })), 12437 }; 12438 } 12439 function LC(i) { 12440 let e = [], 12441 t = '', 12442 r = 0; 12443 for (let n = 0; n < i.length; n++) { 12444 let a = i[n]; 12445 if (a === '\\') t += '\\' + i[++n]; 12446 else if (a === '{') ++r, e.push(t.trim()), (t = ''); 12447 else if (a === '}') { 12448 if (--r < 0) throw new Error('Your { and } are unbalanced.'); 12449 e.push(t.trim()), (t = ''); 12450 } else t += a; 12451 } 12452 return t.length > 0 && e.push(t.trim()), (e = e.filter((n) => n !== '')), e; 12453 } 12454 function $C(i, e, { before: t = [] } = {}) { 12455 if (((t = [].concat(t)), t.length <= 0)) { 12456 i.push(e); 12457 return; 12458 } 12459 let r = i.length - 1; 12460 for (let n of t) { 12461 let a = i.indexOf(n); 12462 a !== -1 && (r = Math.min(r, a)); 12463 } 12464 i.splice(r, 0, e); 12465 } 12466 function Nd(i) { 12467 return Array.isArray(i) ? i.flatMap((e) => (!Array.isArray(e) && !ne(e) ? e : Mt(e))) : Nd([i]); 12468 } 12469 function jC(i, e) { 12470 return (0, uo.default)((r) => { 12471 let n = []; 12472 return ( 12473 e && e(r), 12474 r.walkClasses((a) => { 12475 n.push(a.value); 12476 }), 12477 n 12478 ); 12479 }).transformSync(i); 12480 } 12481 function zC(i) { 12482 i.walkPseudos((e) => { 12483 e.value === ':not' && e.remove(); 12484 }); 12485 } 12486 function VC(i, e = { containsNonOnDemandable: !1 }, t = 0) { 12487 let r = [], 12488 n = []; 12489 i.type === 'rule' ? n.push(...i.selectors) : i.type === 'atrule' && i.walkRules((a) => n.push(...a.selectors)); 12490 for (let a of n) { 12491 let s = jC(a, zC); 12492 s.length === 0 && (e.containsNonOnDemandable = !0); 12493 for (let o of s) r.push(o); 12494 } 12495 return t === 0 ? [e.containsNonOnDemandable || r.length === 0, r] : r; 12496 } 12497 function _n(i) { 12498 return Nd(i).flatMap((e) => { 12499 let t = new Map(), 12500 [r, n] = VC(e); 12501 return r && n.unshift(He), n.map((a) => (t.has(e) || t.set(e, e), [a, t.get(e)])); 12502 }); 12503 } 12504 function Cn(i) { 12505 return i.startsWith('@') || i.includes('&'); 12506 } 12507 function Zr(i) { 12508 i = i 12509 .replace(/\n+/g, '') 12510 .replace(/\s{1,}/g, ' ') 12511 .trim(); 12512 let e = LC(i) 12513 .map((t) => { 12514 if (!t.startsWith('@')) return ({ format: a }) => a(t); 12515 let [, r, n] = /@(\S*)( .+|[({].*)?/g.exec(t); 12516 return ({ wrap: a }) => a(V.atRule({ name: r, params: n?.trim() ?? '' })); 12517 }) 12518 .reverse(); 12519 return (t) => { 12520 for (let r of e) r(t); 12521 }; 12522 } 12523 function UC(i, e, { variantList: t, variantMap: r, offsets: n, classList: a }) { 12524 function s(p, m) { 12525 return p ? (0, Bd.default)(i, p, m) : i; 12526 } 12527 function o(p) { 12528 return Bt(i.prefix, p); 12529 } 12530 function u(p, m) { 12531 return p === He ? He : m.respectPrefix ? e.tailwindConfig.prefix + p : p; 12532 } 12533 function c(p, m, w = {}) { 12534 let x = Ke(p), 12535 y = s(['theme', ...x], m); 12536 return Ge(x[0])(y, w); 12537 } 12538 let f = 0, 12539 d = { 12540 postcss: V, 12541 prefix: o, 12542 e: de, 12543 config: s, 12544 theme: c, 12545 corePlugins: (p) => 12546 Array.isArray(i.corePlugins) ? i.corePlugins.includes(p) : s(['corePlugins', p], !0), 12547 variants: () => [], 12548 addBase(p) { 12549 for (let [m, w] of _n(p)) { 12550 let x = u(m, {}), 12551 y = n.create('base'); 12552 e.candidateRuleMap.has(x) || e.candidateRuleMap.set(x, []), 12553 e.candidateRuleMap.get(x).push([{ sort: y, layer: 'base' }, w]); 12554 } 12555 }, 12556 addDefaults(p, m) { 12557 let w = { [`@defaults ${p}`]: m }; 12558 for (let [x, y] of _n(w)) { 12559 let b = u(x, {}); 12560 e.candidateRuleMap.has(b) || e.candidateRuleMap.set(b, []), 12561 e.candidateRuleMap.get(b).push([{ sort: n.create('defaults'), layer: 'defaults' }, y]); 12562 } 12563 }, 12564 addComponents(p, m) { 12565 m = Object.assign( 12566 {}, 12567 { preserveSource: !1, respectPrefix: !0, respectImportant: !1 }, 12568 Array.isArray(m) ? {} : m, 12569 ); 12570 for (let [x, y] of _n(p)) { 12571 let b = u(x, m); 12572 a.add(b), 12573 e.candidateRuleMap.has(b) || e.candidateRuleMap.set(b, []), 12574 e.candidateRuleMap.get(b).push([ 12575 { 12576 sort: n.create('components'), 12577 layer: 'components', 12578 options: m, 12579 }, 12580 y, 12581 ]); 12582 } 12583 }, 12584 addUtilities(p, m) { 12585 m = Object.assign( 12586 {}, 12587 { preserveSource: !1, respectPrefix: !0, respectImportant: !0 }, 12588 Array.isArray(m) ? {} : m, 12589 ); 12590 for (let [x, y] of _n(p)) { 12591 let b = u(x, m); 12592 a.add(b), 12593 e.candidateRuleMap.has(b) || e.candidateRuleMap.set(b, []), 12594 e.candidateRuleMap.get(b).push([ 12595 { 12596 sort: n.create('utilities'), 12597 layer: 'utilities', 12598 options: m, 12599 }, 12600 y, 12601 ]); 12602 } 12603 }, 12604 matchUtilities: function (p, m) { 12605 m = Fd({ 12606 ...{ respectPrefix: !0, respectImportant: !0, modifiers: !1 }, 12607 ...m, 12608 });
12609 let x = n.create('utilities'); 12610 for (let y in p) { 12611 let S = function (O, { isOnlyPlugin: I }) { 12612 let [B, q, X] = us(m.types, O, m, i); 12613 if (B === void 0) return []; 12614 if (!m.types.some(({ type: j }) => j === q)) 12615 if (I) 12616 F.warn([ 12617 `Unnecessary typehint \`${q}\` in \`${y}-${O}\`.`, 12618 `You can safely update it to \`${y}-${O.replace(q + ':', '')}\`.`, 12619 ]); 12620 else return []; 12621 if (!Nt(B)) return []; 12622 let le = { 12623 get modifier() { 12624 return ( 12625 m.modifiers || 12626 F.warn(`modifier-used-without-options-for-${y}`, [ 12627 'Your plugin must set `modifiers: true` in its options to support modifiers.', 12628 ]), 12629 X 12630 ); 12631 }, 12632 }, 12633 ce = Z(i, 'generalizedModifiers'); 12634 return [] 12635 .concat(ce ? k(B, le) : k(B)) 12636 .filter(Boolean) 12637 .map((j) => ({ [fn(y, O)]: j })); 12638 }, 12639 b = u(y, m), 12640 k = p[y]; 12641 a.add([b, m]); 12642 let _ = [{ sort: x, layer: 'utilities', options: m }, S]; 12643 e.candidateRuleMap.has(b) || e.candidateRuleMap.set(b, []), e.candidateRuleMap.get(b).push(_); 12644 } 12645 }, 12646 matchComponents: function (p, m) { 12647 m = Fd({ 12648 ...{ respectPrefix: !0, respectImportant: !1, modifiers: !1 }, 12649 ...m, 12650 }); 12651 let x = n.create('components'); 12652 for (let y in p) { 12653 let S = function (O, { isOnlyPlugin: I }) { 12654 let [B, q, X] = us(m.types, O, m, i); 12655 if (B === void 0) return []; 12656 if (!m.types.some(({ type: j }) => j === q)) 12657 if (I) 12658 F.warn([ 12659 `Unnecessary typehint \`${q}\` in \`${y}-${O}\`.`, 12660 `You can safely update it to \`${y}-${O.replace(q + ':', '')}\`.`, 12661 ]); 12662 else return []; 12663 if (!Nt(B)) return []; 12664 let le = { 12665 get modifier() { 12666 return ( 12667 m.modifiers || 12668 F.warn(`modifier-used-without-options-for-${y}`, [ 12669 'Your plugin must set `modifiers: true` in its options to support modifiers.', 12670 ]), 12671 X 12672 ); 12673 }, 12674 }, 12675 ce = Z(i, 'generalizedModifiers'); 12676 return [] 12677 .concat(ce ? k(B, le) : k(B)) 12678 .filter(Boolean) 12679 .map((j) => ({ [fn(y, O)]: j })); 12680 }, 12681 b = u(y, m), 12682 k = p[y]; 12683 a.add([b, m]); 12684 let _ = [{ sort: x, layer: 'components', options: m }, S]; 12685 e.candidateRuleMap.has(b) || e.candidateRuleMap.set(b, []), e.candidateRuleMap.get(b).push(_); 12686 } 12687 }, 12688 addVariant(p, m, w = {}) { 12689 (m = [].concat(m).map((x) => { 12690 if (typeof x != 'string') 12691 return (y = {}) => { 12692 let { args: b, modifySelectors: k, container: S, separator: _, wrap: O, format: I } = y, 12693 B = x( 12694 Object.assign( 12695 { modifySelectors: k, container: S, separator: _ }, 12696 w.type === fo.MatchVariant && { 12697 args: b, 12698 wrap: O, 12699 format: I, 12700 }, 12701 ), 12702 ); 12703 if (typeof B == 'string' && !Cn(B)) 12704 throw new Error( 12705 `Your custom variant \`${p}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`, 12706 ); 12707 return Array.isArray(B) 12708 ? B.filter((q) => typeof q == 'string').map((q) => Zr(q)) 12709 : B && typeof B == 'string' && Zr(B)(y); 12710 }; 12711 if (!Cn(x)) 12712 throw new Error( 12713 `Your custom variant \`${p}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`, 12714 ); 12715 return Zr(x); 12716 })), 12717 $C(t, p, w), 12718 r.set(p, m), 12719 e.variantOptions.set(p, w); 12720 }, 12721 matchVariant(p, m, w) { 12722 let x = w?.id ?? ++f, 12723 y = p === '@', 12724 b = Z(i, 'generalizedModifiers'); 12725 for (let [S, _] of Object.entries(w?.values ?? {})) 12726 S !== 'DEFAULT' && 12727 d.addVariant( 12728 y ? `${p}${S}` : `${p}-${S}`, 12729 ({ args: O, container: I }) => 12730 m(_, b ? { modifier: O?.modifier, container: I } : { container: I }), 12731 { 12732 ...w, 12733 value: _, 12734 id: x, 12735 type: fo.MatchVariant, 12736 variantInfo: co.Base, 12737 }, 12738 ); 12739 let k = 'DEFAULT' in (w?.values ?? {}); 12740 d.addVariant( 12741 p, 12742 ({ args: S, container: _ }) => 12743 S?.value === Kr && !k 12744 ? null 12745 : m( 12746 S?.value === Kr 12747 ? w.values.DEFAULT 12748 : S?.value ?? (typeof S == 'string' ? S : ''), 12749 b ? { modifier: S?.modifier, container: _ } : { container: _ }, 12750 ), 12751 { ...w, id: x, type: fo.MatchVariant, variantInfo: co.Dynamic }, 12752 ); 12753 }, 12754 }; 12755 return d; 12756 } 12757 function On(i) { 12758 return ho.has(i) || ho.set(i, new Map()), ho.get(i); 12759 } 12760 function Ld(i, e) { 12761 let t = !1, 12762 r = new Map(); 12763 for (let n of i) { 12764 if (!n) continue; 12765 let a = gs.parse(n), 12766 s = a.hash ? a.href.replace(a.hash, '') : a.href; 12767 s = a.search ? s.replace(a.search, '') : s; 12768 let o = re.statSync(decodeURIComponent(s), { 12769 throwIfNoEntry: !1, 12770 })?.mtimeMs; 12771 !o || ((!e.has(n) || o > e.get(n)) && (t = !0), r.set(n, o)); 12772 } 12773 return [t, r]; 12774 } 12775 function $d(i) { 12776 i.walkAtRules((e) => { 12777 ['responsive', 'variants'].includes(e.name) && ($d(e), e.before(e.nodes), e.remove()); 12778 }); 12779 } 12780 function WC(i) { 12781 let e = []; 12782 return ( 12783 i.each((t) => { 12784 t.type === 'atrule' && 12785 ['responsive', 'variants'].includes(t.name) && 12786 ((t.name = 'layer'), (t.params = 'utilities')); 12787 }), 12788 i.walkAtRules('layer', (t) => { 12789 if (($d(t), t.params === 'base')) { 12790 for (let r of t.nodes) 12791 e.push(function ({ addBase: n }) { 12792 n(r, { respectPrefix: !1 }); 12793 });
12794 t.remove(); 12795 } else if (t.params === 'components') { 12796 for (let r of t.nodes) 12797 e.push(function ({ addComponents: n }) { 12798 n(r, { respectPrefix: !1, preserveSource: !0 }); 12799 }); 12800 t.remove(); 12801 } else if (t.params === 'utilities') { 12802 for (let r of t.nodes) 12803 e.push(function ({ addUtilities: n }) { 12804 n(r, { respectPrefix: !1, preserveSource: !0 }); 12805 }); 12806 t.remove(); 12807 } 12808 }), 12809 e 12810 ); 12811 } 12812 function GC(i, e) { 12813 let t = Object.entries({ ...Y, ...md }) 12814 .map(([u, c]) => (i.tailwindConfig.corePlugins.includes(u) ? c : null)) 12815 .filter(Boolean), 12816 r = i.tailwindConfig.plugins.map( 12817 (u) => (u.__isOptionsFunction && (u = u()), typeof u == 'function' ? u : u.handler), 12818 ), 12819 n = WC(e), 12820 a = [ 12821 Y.childVariant, 12822 Y.pseudoElementVariants, 12823 Y.pseudoClassVariants, 12824 Y.hasVariants, 12825 Y.ariaVariants, 12826 Y.dataVariants, 12827 ], 12828 s = [ 12829 Y.supportsVariants, 12830 Y.reducedMotionVariants, 12831 Y.prefersContrastVariants, 12832 Y.screenVariants, 12833 Y.orientationVariants, 12834 Y.directionVariants, 12835 Y.darkVariants, 12836 Y.forcedColorsVariants, 12837 Y.printVariant, 12838 ]; 12839 return ( 12840 (i.tailwindConfig.darkMode === 'class' || 12841 (Array.isArray(i.tailwindConfig.darkMode) && i.tailwindConfig.darkMode[0] === 'class')) && 12842 (s = [ 12843 Y.supportsVariants, 12844 Y.reducedMotionVariants, 12845 Y.prefersContrastVariants, 12846 Y.darkVariants, 12847 Y.screenVariants, 12848 Y.orientationVariants, 12849 Y.directionVariants, 12850 Y.forcedColorsVariants, 12851 Y.printVariant, 12852 ]), 12853 [...t, ...a, ...r, ...s, ...n] 12854 ); 12855 } 12856 function HC(i, e) { 12857 let t = [], 12858 r = new Map(); 12859 e.variantMap = r; 12860 let n = new lo(); 12861 e.offsets = n; 12862 let a = new Set(), 12863 s = UC(e.tailwindConfig, e, { 12864 variantList: t, 12865 variantMap: r, 12866 offsets: n, 12867 classList: a, 12868 }); 12869 for (let f of i) 12870 if (Array.isArray(f)) for (let d of f) d(s); 12871 else f?.(s); 12872 n.recordVariants(t, (f) => r.get(f).length); 12873 for (let [f, d] of r.entries()) 12874 e.variantMap.set( 12875 f, 12876 d.map((p, m) => [n.forVariant(f, m), p]), 12877 ); 12878 let o = (e.tailwindConfig.safelist ?? []).filter(Boolean); 12879 if (o.length > 0) { 12880 let f = []; 12881 for (let d of o) { 12882 if (typeof d == 'string') { 12883 e.changedContent.push({ content: d, extension: 'html' }); 12884 continue; 12885 } 12886 if (d instanceof RegExp) { 12887 F.warn('root-regex', [ 12888 'Regular expressions in `safelist` work differently in Tailwind CSS v3.0.', 12889 'Update your `safelist` configuration to eliminate this warning.', 12890 'https://tailwindcss.com/docs/content-configuration#safelisting-classes', 12891 ]); 12892 continue; 12893 } 12894 f.push(d); 12895 } 12896 if (f.length > 0) { 12897 let d = new Map(), 12898 p = e.tailwindConfig.prefix.length, 12899 m = f.some((w) => w.pattern.source.includes('!')); 12900 for (let w of a) { 12901 let x = Array.isArray(w) 12902 ? (() => { 12903 let [y, b] = w, 12904 S = Object.keys(b?.values ?? {}).map((_) => Qr(y, _)); 12905 return ( 12906 b?.supportsNegativeValues && 12907 ((S = [...S, ...S.map((_) => '-' + _)]), 12908 (S = [...S, ...S.map((_) => _.slice(0, p) + '-' + _.slice(p))])), 12909 b.types.some(({ type: _ }) => _ === 'color') && 12910 (S = [ 12911 ...S, 12912 ...S.flatMap((_) => 12913 Object.keys(e.tailwindConfig.theme.opacity).map((O) => `${_}/${O}`), 12914 ), 12915 ]), 12916 m && b?.respectImportant && (S = [...S, ...S.map((_) => '!' + _)]), 12917 S 12918 ); 12919 })() 12920 : [w]; 12921 for (let y of x) 12922 for (let { pattern: b, variants: k = [] } of f) 12923 if (((b.lastIndex = 0), d.has(b) || d.set(b, 0), !!b.test(y))) { 12924 d.set(b, d.get(b) + 1), e.changedContent.push({ content: y, extension: 'html' }); 12925 for (let S of k) 12926 e.changedContent.push({ 12927 content: S + e.tailwindConfig.separator + y, 12928 extension: 'html', 12929 }); 12930 } 12931 } 12932 for (let [w, x] of d.entries()) 12933 x === 0 && 12934 F.warn([ 12935 `The safelist pattern \`${w}\` doesn't match any Tailwind CSS classes.`, 12936 'Fix this pattern or remove it from your `safelist` configuration.', 12937 'https://tailwindcss.com/docs/content-configuration#safelisting-classes', 12938 ]); 12939 } 12940 } 12941 let u = [].concat(e.tailwindConfig.darkMode ?? 'media')[1] ?? 'dark', 12942 c = [po(e, u), po(e, 'group'), po(e, 'peer')]; 12943 (e.getClassOrder = function (d) { 12944 let p = [...d].sort((y, b) => (y === b ? 0 : y < b ? -1 : 1)), 12945 m = new Map(p.map((y) => [y, null])), 12946 w = kn(new Set(p), e, !0); 12947 w = e.offsets.sort(w); 12948 let x = BigInt(c.length); 12949 for (let [, y] of w) { 12950 let b = y.raws.tailwind.candidate; 12951 m.set(b, m.get(b) ?? x++); 12952 } 12953 return d.map((y) => { 12954 let b = m.get(y) ?? null, 12955 k = c.indexOf(y); 12956 return b === null && k !== -1 && (b = BigInt(k)), [y, b]; 12957 }); 12958 }), 12959 (e.getClassList = function (d = {}) { 12960 let p = []; 12961 for (let m of a) 12962 if (Array.isArray(m)) { 12963 let [w, x] = m, 12964 y = [], 12965 b = Object.keys(x?.modifiers ?? {}); 12966 x?.types?.some(({ type: _ }) => _ === 'color') && 12967 b.push(...Object.keys(e.tailwindConfig.theme.opacity ?? {})); 12968 let k = { modifiers: b }, 12969 S = d.includeMetadata && b.length > 0;
12970 for (let [_, O] of Object.entries(x?.values ?? {})) { 12971 if (O == null) continue; 12972 let I = Qr(w, _); 12973 if ((p.push(S ? [I, k] : I), x?.supportsNegativeValues && Xe(O))) { 12974 let B = Qr(w, `-${_}`); 12975 y.push(S ? [B, k] : B); 12976 } 12977 } 12978 p.push(...y); 12979 } else p.push(m); 12980 return p; 12981 }), 12982 (e.getVariants = function () { 12983 let d = []; 12984 for (let [p, m] of e.variantOptions.entries()) 12985 m.variantInfo !== co.Base && 12986 d.push({ 12987 name: p, 12988 isArbitrary: m.type === Symbol.for('MATCH_VARIANT'), 12989 values: Object.keys(m.values ?? {}), 12990 hasDash: p !== '@', 12991 selectors({ modifier: w, value: x } = {}) { 12992 let y = '__TAILWIND_PLACEHOLDER__', 12993 b = V.rule({ selector: `.${y}` }), 12994 k = V.root({ nodes: [b.clone()] }), 12995 S = k.toString(), 12996 _ = (e.variantMap.get(p) ?? []).flatMap(([j, ue]) => ue), 12997 O = []; 12998 for (let j of _) { 12999 let ue = [], 13000 ai = { 13001 args: { modifier: w, value: m.values?.[x] ?? x }, 13002 separator: e.tailwindConfig.separator, 13003 modifySelectors(Ce) { 13004 return ( 13005 k.each((Yn) => { 13006 Yn.type === 'rule' && 13007 (Yn.selectors = Yn.selectors.map((lu) => 13008 Ce({ 13009 get className() { 13010 return no(lu); 13011 }, 13012 selector: lu, 13013 }), 13014 )); 13015 }), 13016 k 13017 ); 13018 }, 13019 format(Ce) { 13020 ue.push(Ce); 13021 }, 13022 wrap(Ce) { 13023 ue.push(`@${Ce.name} ${Ce.params} { & }`); 13024 }, 13025 container: k, 13026 }, 13027 oi = j(ai); 13028 if ((ue.length > 0 && O.push(ue), Array.isArray(oi))) 13029 for (let Ce of oi) (ue = []), Ce(ai), O.push(ue); 13030 } 13031 let I = [], 13032 B = k.toString(); 13033 S !== B && 13034 (k.walkRules((j) => { 13035 let ue = j.selector, 13036 ai = (0, uo.default)((oi) => { 13037 oi.walkClasses((Ce) => { 13038 Ce.value = `${p}${e.tailwindConfig.separator}${Ce.value}`; 13039 }); 13040 }).processSync(ue); 13041 I.push(ue.replace(ai, '&').replace(y, '&')); 13042 }), 13043 k.walkAtRules((j) => { 13044 I.push(`@${j.name} (${j.params}) { & }`); 13045 })); 13046 let q = !(x in (m.values ?? {})), 13047 X = m[Jr] ?? {}, 13048 le = (() => !(q || X.respectPrefix === !1))(); 13049 (O = O.map((j) => j.map((ue) => ({ format: ue, respectPrefix: le })))), 13050 (I = I.map((j) => ({ format: j, respectPrefix: le }))); 13051 let ce = { candidate: y, context: e }, 13052 $e = O.map((j) => 13053 wn(`.${y}`, $t(j, ce), ce).replace(`.${y}`, '&').replace('{ & }', '').trim(), 13054 ); 13055 return I.length > 0 && $e.push($t(I, ce).toString().replace(`.${y}`, '&')), $e; 13056 }, 13057 }); 13058 return d; 13059 }); 13060 }
13061 function jd(i, e) { 13062 !i.classCache.has(e) || 13063 (i.notClassCache.add(e), 13064 i.classCache.delete(e), 13065 i.applyClassCache.delete(e), 13066 i.candidateRuleMap.delete(e), 13067 i.candidateRuleCache.delete(e), 13068 (i.stylesheetCache = null)); 13069 } 13070 function YC(i, e) { 13071 let t = e.raws.tailwind.candidate; 13072 if (!!t) { 13073 for (let r of i.ruleCache) r[1].raws.tailwind.candidate === t && i.ruleCache.delete(r); 13074 jd(i, t); 13075 } 13076 } 13077 function mo(i, e = [], t = V.root()) { 13078 let r = { 13079 disposables: [], 13080 ruleCache: new Set(), 13081 candidateRuleCache: new Map(), 13082 classCache: new Map(), 13083 applyClassCache: new Map(), 13084 notClassCache: new Set(i.blocklist ?? []), 13085 postCssNodeCache: new Map(), 13086 candidateRuleMap: new Map(), 13087 tailwindConfig: i, 13088 changedContent: e, 13089 variantMap: new Map(), 13090 stylesheetCache: null, 13091 variantOptions: new Map(), 13092 markInvalidUtilityCandidate: (a) => jd(r, a), 13093 markInvalidUtilityNode: (a) => YC(r, a), 13094 }, 13095 n = GC(r, t); 13096 return HC(n, r), r; 13097 } 13098 function zd(i, e, t, r, n, a) { 13099 let s = e.opts.from, 13100 o = r !== null; 13101 Pe.DEBUG && console.log('Source path:', s); 13102 let u; 13103 if (o && jt.has(s)) u = jt.get(s); 13104 else if (ei.has(n)) { 13105 let p = ei.get(n); 13106 lt.get(p).add(s), jt.set(s, p), (u = p); 13107 } 13108 let c = Td(s, i); 13109 if (u) { 13110 let [p, m] = Ld([...a], On(u)); 13111 if (!p && !c) return [u, !1, m]; 13112 } 13113 if (jt.has(s)) { 13114 let p = jt.get(s); 13115 if (lt.has(p) && (lt.get(p).delete(s), lt.get(p).size === 0)) { 13116 lt.delete(p); 13117 for (let [m, w] of ei) w === p && ei.delete(m); 13118 for (let m of p.disposables.splice(0)) m(p); 13119 } 13120 } 13121 Pe.DEBUG && console.log('Setting up new context...'); 13122 let f = mo(t, [], i); 13123 Object.assign(f, { userConfigPath: r }); 13124 let [, d] = Ld([...a], On(f)); 13125 return ei.set(n, f), jt.set(s, f), lt.has(f) || lt.set(f, new Set()), lt.get(f).add(s), [f, !0, d]; 13126 } 13127 var Bd, 13128 uo, 13129 Jr, 13130 fo, 13131 co, 13132 ho, 13133 jt, 13134 ei, 13135 lt, 13136 Xr = C(() => { 13137 l(); 13138 je(); 13139 ys(); 13140 nt(); 13141 (Bd = K(Ls())), (uo = K(Re())); 13142 Hr(); 13143 za(); 13144 un(); 13145 kt(); 13146 Ft(); 13147 Ua(); 13148 cr(); 13149 gd(); 13150 ot(); 13151 ot(); 13152 pi(); 13153 Oe(); 13154 fi(); 13155 Ja(); 13156 Sn(); 13157 Pd(); 13158 Md(); 13159 ze(); 13160 to(); 13161 (Jr = Symbol()), 13162 (fo = { 13163 AddVariant: Symbol.for('ADD_VARIANT'), 13164 MatchVariant: Symbol.for('MATCH_VARIANT'), 13165 }), 13166 (co = { Base: 1 << 0, Dynamic: 1 << 1 }); 13167 ho = new WeakMap(); 13168 (jt = yd), (ei = wd), (lt = gn); 13169 }); 13170 function go(i) { 13171 return i.ignore 13172 ? [] 13173 : i.glob 13174 ? h.env.ROLLUP_WATCH === 'true' 13175 ? [{ type: 'dependency', file: i.base }] 13176 : [{ type: 'dir-dependency', dir: i.base, glob: i.glob }] 13177 : [{ type: 'dependency', file: i.base }]; 13178 } 13179 var Vd = C(() => { 13180 l(); 13181 }); 13182 function Ud(i, e) { 13183 return { handler: i, config: e }; 13184 } 13185 var Wd, 13186 Gd = C(() => { 13187 l(); 13188 Ud.withOptions = function (i, e = () => ({})) { 13189 let t = function (r) { 13190 return { __options: r, handler: i(r), config: e(r) }; 13191 }; 13192 return (t.__isOptionsFunction = !0), (t.__pluginFunction = i), (t.__configFunction = e), t; 13193 }; 13194 Wd = Ud; 13195 }); 13196 var yo = {}; 13197 Ae(yo, { default: () => QC }); 13198 var QC, 13199 wo = C(() => { 13200 l(); 13201 Gd(); 13202 QC = Wd; 13203 }); 13204 var Yd = v((qD, Hd) => { 13205 l(); 13206 var JC = (wo(), yo).default, 13207 XC = { 13208 overflow: 'hidden', 13209 display: '-webkit-box', 13210 '-webkit-box-orient': 'vertical', 13211 }, 13212 KC = JC( 13213 function ({ matchUtilities: i, addUtilities: e, theme: t, variants: r }) { 13214 let n = t('lineClamp'); 13215 i({ 'line-clamp': (a) => ({ ...XC, '-webkit-line-clamp': `${a}` }) }, { values: n }), 13216 e([{ '.line-clamp-none': { '-webkit-line-clamp': 'unset' } }], r('lineClamp')); 13217 }, 13218 { 13219 theme: { 13220 lineClamp: { 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6' }, 13221 }, 13222 variants: { lineClamp: ['responsive'] }, 13223 }, 13224 ); 13225 Hd.exports = KC; 13226 }); 13227 function bo(i) { 13228 i.content.files.length === 0 && 13229 F.warn('content-problems', [ 13230 'The `content` option in your Tailwind CSS configuration is missing or empty.', 13231 'Configure your content sources or your generated CSS will be missing styles.', 13232 'https://tailwindcss.com/docs/content-configuration', 13233 ]); 13234 try { 13235 let e = Yd(); 13236 i.plugins.includes(e) && 13237 (F.warn('line-clamp-in-core', [ 13238 'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.', 13239 'Remove it from the `plugins` array in your configuration to eliminate this warning.', 13240 ]), 13241 (i.plugins = i.plugins.filter((t) => t !== e))); 13242 } catch {} 13243 return i; 13244 } 13245 var Qd = C(() => { 13246 l(); 13247 Oe(); 13248 }); 13249 var Jd, 13250 Xd = C(() => { 13251 l(); 13252 Jd = () => !1; 13253 }); 13254 var En, 13255 Kd = C(() => { 13256 l(); 13257 En = { 13258 sync: (i) => [].concat(i), 13259 generateTasks: (i) => [ 13260 { 13261 dynamic: !1, 13262 base: '.', 13263 negative: [], 13264 positive: [].concat(i), 13265 patterns: [].concat(i), 13266 }, 13267 ], 13268 escapePath: (i) => i, 13269 }; 13270 }); 13271 var vo, 13272 Zd = C(() => { 13273 l(); 13274 vo = (i) => i; 13275 }); 13276 var eh, 13277 th = C(() => { 13278 l(); 13279 eh = () => ''; 13280 }); 13281 function rh(i) { 13282 let e = i, 13283 t = eh(i); 13284 return ( 13285 t !== '.' && ((e = i.substr(t.length)), e.charAt(0) === '/' && (e = e.substr(1))), 13286 e.substr(0, 2) === './' && (e = e.substr(2)), 13287 e.charAt(0) === '/' && (e = e.substr(1)), 13288 { base: t, glob: e } 13289 ); 13290 } 13291 var ih = C(() => { 13292 l(); 13293 th(); 13294 }); 13295 function nh(i, e) { 13296 let t = e.content.files; 13297 (t = t.filter((o) => typeof o == 'string')), (t = t.map(vo)); 13298 let r = En.generateTasks(t), 13299 n = [], 13300 a = []; 13301 for (let o of r) n.push(...o.positive.map((u) => sh(u, !1))), a.push(...o.negative.map((u) => sh(u, !0))); 13302 let s = [...n, ...a]; 13303 return (s = e2(i, s)), (s = s.flatMap(t2)), (s = s.map(ZC)), s;
13304 } 13305 function sh(i, e) { 13306 let t = { original: i, base: i, ignore: e, pattern: i, glob: null }; 13307 return Jd(i) && Object.assign(t, rh(i)), t; 13308 } 13309 function ZC(i) { 13310 let e = vo(i.base); 13311 return ( 13312 (e = En.escapePath(e)), 13313 (i.pattern = i.glob ? `${e}/${i.glob}` : e), 13314 (i.pattern = i.ignore ? `!${i.pattern}` : i.pattern), 13315 i 13316 ); 13317 } 13318 function e2(i, e) { 13319 let t = []; 13320 return ( 13321 i.userConfigPath && i.tailwindConfig.content.relative && (t = [ee.dirname(i.userConfigPath)]), 13322 e.map((r) => ((r.base = ee.resolve(...t, r.base)), r)) 13323 ); 13324 } 13325 function t2(i) { 13326 let e = [i]; 13327 try { 13328 let t = re.realpathSync(i.base); 13329 t !== i.base && e.push({ ...i, base: t }); 13330 } catch {} 13331 return e; 13332 } 13333 function ah(i, e, t) { 13334 let r = i.tailwindConfig.content.files 13335 .filter((s) => typeof s.raw == 'string') 13336 .map(({ raw: s, extension: o = 'html' }) => ({ 13337 content: s, 13338 extension: o, 13339 })), 13340 [n, a] = r2(e, t); 13341 for (let s of n) { 13342 let o = ee.extname(s).slice(1); 13343 r.push({ file: s, extension: o }); 13344 } 13345 return [r, a]; 13346 } 13347 function r2(i, e) { 13348 let t = i.map((s) => s.pattern), 13349 r = new Map(), 13350 n = new Set(); 13351 Pe.DEBUG && console.time('Finding changed files'); 13352 let a = En.sync(t, { absolute: !0 }); 13353 for (let s of a) { 13354 let o = e.get(s) || -1 / 0, 13355 u = re.statSync(s).mtimeMs; 13356 u > o && (n.add(s), r.set(s, u)); 13357 } 13358 return Pe.DEBUG && console.timeEnd('Finding changed files'), [n, r]; 13359 } 13360 var oh = C(() => { 13361 l(); 13362 je(); 13363 gt(); 13364 Xd(); 13365 Kd(); 13366 Zd();
13367 ih(); 13368 ot(); 13369 }); 13370 function lh() {} 13371 var uh = C(() => { 13372 l(); 13373 }); 13374 function a2(i, e) { 13375 for (let t of e) { 13376 let r = `${i}${t}`; 13377 if (re.existsSync(r) && re.statSync(r).isFile()) return r; 13378 } 13379 for (let t of e) { 13380 let r = `${i}/index${t}`; 13381 if (re.existsSync(r)) return r; 13382 } 13383 return null; 13384 } 13385 function* fh(i, e, t, r = ee.extname(i)) { 13386 let n = a2(ee.resolve(e, i), i2.includes(r) ? n2 : s2); 13387 if (n === null || t.has(n)) return; 13388 t.add(n), yield n, (e = ee.dirname(n)), (r = ee.extname(n)); 13389 let a = re.readFileSync(n, 'utf-8'); 13390 for (let s of [ 13391 ...a.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi), 13392 ...a.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi), 13393 ...a.matchAll(/require\(['"`](.+)['"`]\)/gi), 13394 ]) 13395 !s[1].startsWith('.') || (yield* fh(s[1], e, t, r)); 13396 } 13397 function xo(i) { 13398 return i === null ? new Set() : new Set(fh(i, ee.dirname(i), new Set())); 13399 } 13400 var i2, 13401 n2, 13402 s2, 13403 ch = C(() => { 13404 l(); 13405 je(); 13406 gt(); 13407 (i2 = ['.js', '.cjs', '.mjs']), 13408 (n2 = ['', '.js', '.cjs', '.mjs', '.ts', '.cts', '.mts', '.jsx', '.tsx']), 13409 (s2 = ['', '.ts', '.cts', '.mts', '.tsx', '.js', '.cjs', '.mjs', '.jsx']); 13410 }); 13411 function o2(i, e) { 13412 if (ko.has(i)) return ko.get(i); 13413 let t = nh(i, e); 13414 return ko.set(i, t).get(i); 13415 } 13416 function l2(i) { 13417 let e = ms(i); 13418 if (e !== null) { 13419 let [r, n, a, s] = dh.get(e) || [], 13420 o = xo(e), 13421 u = !1, 13422 c = new Map(); 13423 for (let p of o) { 13424 let m = re.statSync(p).mtimeMs; 13425 c.set(p, m), (!s || !s.has(p) || m > s.get(p)) && (u = !0); 13426 } 13427 if (!u) return [r, e, n, a]; 13428 for (let p of o) delete fu.cache[p]; 13429 let f = bo(dr(lh(e))), 13430 d = ui(f); 13431 return dh.set(e, [f, d, o, c]), [f, e, d, o]; 13432 } 13433 let t = dr(i?.config ?? i ?? {}); 13434 return (t = bo(t)), [t, null, ui(t), []]; 13435 } 13436 function So(i) { 13437 return ({ tailwindDirectives: e, registerDependency: t }) => 13438 (r, n) => { 13439 let [a, s, o, u] = l2(i), 13440 c = new Set(u); 13441 if (e.size > 0) { 13442 c.add(n.opts.from); 13443 for (let w of n.messages) w.type === 'dependency' && c.add(w.file); 13444 } 13445 let [f, , d] = zd(r, n, a, s, o, c), 13446 p = On(f), 13447 m = o2(f, a); 13448 if (e.size > 0) { 13449 for (let y of m) for (let b of go(y)) t(b); 13450 let [w, x] = ah(f, m, p); 13451 for (let y of w) f.changedContent.push(y); 13452 for (let [y, b] of x.entries()) d.set(y, b); 13453 } 13454 for (let w of u) t({ type: 'dependency', file: w }); 13455 for (let [w, x] of d.entries()) p.set(w, x); 13456 return f; 13457 }; 13458 } 13459 var ph, 13460 dh, 13461 ko, 13462 hh = C(() => { 13463 l(); 13464 je(); 13465 ph = K(Qn()); 13466 mu(); 13467 hs(); 13468 sf(); 13469 Xr(); 13470 Vd(); 13471 Qd(); 13472 oh(); 13473 uh(); 13474 ch(); 13475 (dh = new ph.default({ maxSize: 100 })), (ko = new WeakMap()); 13476 }); 13477 function Co(i) { 13478 let e = new Set(), 13479 t = new Set(), 13480 r = new Set(); 13481 if ( 13482 (i.walkAtRules((n) => { 13483 n.name === 'apply' && r.add(n), 13484 n.name === 'import' && 13485 (n.params === '"tailwindcss/base"' || n.params === "'tailwindcss/base'" 13486 ? ((n.name = 'tailwind'), (n.params = 'base')) 13487 : n.params === '"tailwindcss/components"' || n.params === "'tailwindcss/components'" 13488 ? ((n.name = 'tailwind'), (n.params = 'components')) 13489 : n.params === '"tailwindcss/utilities"' || n.params === "'tailwindcss/utilities'" 13490 ? ((n.name = 'tailwind'), (n.params = 'utilities')) 13491 : (n.params === '"tailwindcss/screens"' || 13492 n.params === "'tailwindcss/screens'" || 13493 n.params === '"tailwindcss/variants"' || 13494 n.params === "'tailwindcss/variants'") && 13495 ((n.name = 'tailwind'), (n.params = 'variants'))), 13496 n.name === 'tailwind' && (n.params === 'screens' && (n.params = 'variants'), e.add(n.params)), 13497 ['layer', 'responsive', 'variants'].includes(n.name) && 13498 (['responsive', 'variants'].includes(n.name) && 13499 F.warn(`${n.name}-at-rule-deprecated`, [ 13500 `The \`@${n.name}\` directive has been deprecated in Tailwind CSS v3.0.`, 13501 'Use `@layer utilities` or `@layer components` instead.', 13502 'https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer', 13503 ]), 13504 t.add(n)); 13505 }), 13506 !e.has('base') || !e.has('components') || !e.has('utilities')) 13507 ) { 13508 for (let n of t) 13509 if (n.name === 'layer' && ['base', 'components', 'utilities'].includes(n.params)) { 13510 if (!e.has(n.params)) 13511 throw n.error( 13512 `\`@layer ${n.params}\` is used but no matching \`@tailwind ${n.params}\` directive is present.`, 13513 ); 13514 } else if (n.name === 'responsive') { 13515 if (!e.has('utilities')) 13516 throw n.error('`@responsive` is used but `@tailwind utilities` is missing.'); 13517 } else if (n.name === 'variants' && !e.has('utilities')) 13518 throw n.error('`@variants` is used but `@tailwind utilities` is missing.'); 13519 } 13520 return { tailwindDirectives: e, applyDirectives: r }; 13521 } 13522 var mh = C(() => { 13523 l(); 13524 Oe(); 13525 }); 13526 function vt(i, e = void 0, t = void 0) { 13527 return i.map((r) => { 13528 let n = r.clone(); 13529 return ( 13530 t !== void 0 && (n.raws.tailwind = { ...n.raws.tailwind, ...t }), 13531 e !== void 0 && 13532 gh(n, (a) => { 13533 if (a.raws.tailwind?.preserveSource === !0 && a.source) return !1; 13534 a.source = e; 13535 }), 13536 n 13537 ); 13538 }); 13539 } 13540 function gh(i, e) { 13541 e(i) !== !1 && i.each?.((t) => gh(t, e)); 13542 } 13543 var yh = C(() => { 13544 l(); 13545 }); 13546 function Ao(i) { 13547 return (i = Array.isArray(i) ? i : [i]), (i = i.map((e) => (e instanceof RegExp ? e.source : e))), i.join(''); 13548 } 13549 function ye(i) { 13550 return new RegExp(Ao(i), 'g'); 13551 } 13552 function ut(i) { 13553 return `(?:${i.map(Ao).join('|')})`; 13554 } 13555 function _o(i) { 13556 return `(?:${Ao(i)})?`; 13557 } 13558 function bh(i) { 13559 return i && u2.test(i) ? i.replace(wh, '\\$&') : i || ''; 13560 } 13561 var wh, 13562 u2, 13563 vh = C(() => { 13564 l(); 13565 (wh = /[\\^$.*+?()[\]{}|]/g), (u2 = RegExp(wh.source)); 13566 }); 13567 function xh(i) { 13568 let e = Array.from(f2(i)); 13569 return (t) => { 13570 let r = [];
13571 for (let n of e) for (let a of t.match(n) ?? []) r.push(d2(a)); 13572 return r; 13573 }; 13574 } 13575 function* f2(i) { 13576 let e = i.tailwindConfig.separator, 13577 t = i.tailwindConfig.prefix !== '' ? _o(ye([/-?/, bh(i.tailwindConfig.prefix)])) : '', 13578 r = ut([ 13579 /\[[^\s:'"`]+:[^\s\[\]]+\]/, 13580 /\[[^\s:'"`\]]+:[^\s]+?\[[^\s]+\][^\s]+?\]/, 13581 ye([ 13582 ut([/-?(?:\w+)/, /@(?:\w+)/]), 13583 _o( 13584 ut([ 13585 ye([ 13586 ut([ 13587 /-(?:\w+-)*\['[^\s]+'\]/, 13588 /-(?:\w+-)*\["[^\s]+"\]/, 13589 /-(?:\w+-)*\[`[^\s]+`\]/, 13590 /-(?:\w+-)*\[(?:[^\s\[\]]+\[[^\s\[\]]+\])*[^\s:\[\]]+\]/, 13591 ]), 13592 /(?![{([]])/, 13593 /(?:\/[^\s'"`\\><$]*)?/, 13594 ]), 13595 ye([ 13596 ut([ 13597 /-(?:\w+-)*\['[^\s]+'\]/, 13598 /-(?:\w+-)*\["[^\s]+"\]/, 13599 /-(?:\w+-)*\[`[^\s]+`\]/, 13600 /-(?:\w+-)*\[(?:[^\s\[\]]+\[[^\s\[\]]+\])*[^\s\[\]]+\]/, 13601 ]), 13602 /(?![{([]])/, 13603 /(?:\/[^\s'"`\\$]*)?/, 13604 ]), 13605 /[-\/][^\s'"`\\$={><]*/, 13606 ]), 13607 ), 13608 ]), 13609 ]), 13610 n = [ 13611 ut([ 13612 ye([/@\[[^\s"'`]+\](\/[^\s"'`]+)?/, e]), 13613 ye([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]\/\w+/, e]), 13614 ye([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]/, e]), 13615 ye([/[^\s"'`\[\\]+/, e]), 13616 ]), 13617 ut([ 13618 ye([/([^\s"'`\[\\]+-)?\[[^\s`]+\]\/\w+/, e]), 13619 ye([/([^\s"'`\[\\]+-)?\[[^\s`]+\]/, e]), 13620 ye([/[^\s`\[\\]+/, e]), 13621 ]), 13622 ]; 13623 for (let a of n) yield ye(['((?=((', a, ')+))\\2)?', /!?/, t, r]); 13624 yield /[^<>"'`\s.(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g; 13625 } 13626 function d2(i) { 13627 if (!i.includes('-[')) return i; 13628 let e = 0, 13629 t = [], 13630 r = i.matchAll(c2); 13631 r = Array.from(r).flatMap((n) => { 13632 let [, ...a] = n; 13633 return a.map((s, o) => Object.assign([], n, { index: n.index + o, 0: s })); 13634 }); 13635 for (let n of r) { 13636 let a = n[0], 13637 s = t[t.length - 1]; 13638 if ((a === s ? t.pop() : (a === "'" || a === '"' || a === '`') && t.push(a), !s)) { 13639 if (a === '[') { 13640 e++; 13641 continue; 13642 } else if (a === ']') { 13643 e--; 13644 continue; 13645 } 13646 if (e < 0) return i.substring(0, n.index - 1); 13647 if (e === 0 && !p2.test(a)) return i.substring(0, n.index); 13648 } 13649 } 13650 return i; 13651 } 13652 var c2, 13653 p2, 13654 kh = C(() => { 13655 l(); 13656 vh(); 13657 (c2 = /([\[\]'"`])([^\[\]'"`])?/g), (p2 = /[^"'`\s<>\]]+/); 13658 }); 13659 function h2(i, e) { 13660 let t = i.tailwindConfig.content.extract; 13661 return t[e] || t.DEFAULT || Ch[e] || Ch.DEFAULT(i); 13662 } 13663 function m2(i, e) { 13664 let t = i.content.transform; 13665 return t[e] || t.DEFAULT || Ah[e] || Ah.DEFAULT; 13666 } 13667 function g2(i, e, t, r) { 13668 ti.has(e) || ti.set(e, new Sh.default({ maxSize: 25e3 })); 13669 for (let n of i.split(` 13670`)) 13671 if (((n = n.trim()), !r.has(n))) 13672 if ((r.add(n), ti.get(e).has(n))) for (let a of ti.get(e).get(n)) t.add(a); 13673 else { 13674 let a = e(n).filter((o) => o !== '!*'),
13675 s = new Set(a); 13676 for (let o of s) t.add(o); 13677 ti.get(e).set(n, s); 13678 } 13679 } 13680 function y2(i, e) { 13681 let t = e.offsets.sort(i), 13682 r = { 13683 base: new Set(), 13684 defaults: new Set(), 13685 components: new Set(), 13686 utilities: new Set(), 13687 variants: new Set(), 13688 }; 13689 for (let [n, a] of t) r[n.layer].add(a); 13690 return r; 13691 } 13692 function Oo(i) { 13693 return async (e) => { 13694 let t = { base: null, components: null, utilities: null, variants: null }; 13695 if ( 13696 (e.walkAtRules((w) => { 13697 w.name === 'tailwind' && Object.keys(t).includes(w.params) && (t[w.params] = w); 13698 }), 13699 Object.values(t).every((w) => w === null)) 13700 ) 13701 return e; 13702 let r = new Set([...(i.candidates ?? []), He]), 13703 n = new Set(); 13704 Ye.DEBUG && console.time('Reading changed files'); 13705 { 13706 let w = []; 13707 for (let y of i.changedContent) { 13708 let b = m2(i.tailwindConfig, y.extension), 13709 k = h2(i, y.extension); 13710 w.push([y, { transformer: b, extractor: k }]); 13711 } 13712 let x = 500; 13713 for (let y = 0; y < w.length; y += x) { 13714 let b = w.slice(y, y + x); 13715 await Promise.all( 13716 b.map(async ([{ file: k, content: S }, { transformer: _, extractor: O }]) => { 13717 (S = k ? await re.promises.readFile(k, 'utf8') : S), g2(_(S), O, r, n); 13718 }), 13719 ); 13720 } 13721 } 13722 Ye.DEBUG && console.timeEnd('Reading changed files'); 13723 let a = i.classCache.size; 13724 Ye.DEBUG && console.time('Generate rules'), Ye.DEBUG && console.time('Sorting candidates'); 13725 let s = new Set([...r].sort((w, x) => (w === x ? 0 : w < x ? -1 : 1))); 13726 Ye.DEBUG && console.timeEnd('Sorting candidates'), 13727 kn(s, i), 13728 Ye.DEBUG && console.timeEnd('Generate rules'), 13729 Ye.DEBUG && console.time('Build stylesheet'), 13730 (i.stylesheetCache === null || i.classCache.size !== a) && 13731 (i.stylesheetCache = y2([...i.ruleCache], i)), 13732 Ye.DEBUG && console.timeEnd('Build stylesheet'); 13733 let { defaults: o, base: u, components: c, utilities: f, variants: d } = i.stylesheetCache; 13734 t.base && (t.base.before(vt([...u, ...o], t.base.source, { layer: 'base' })), t.base.remove()), 13735 t.components && 13736 (t.components.before(vt([...c], t.components.source, { layer: 'components' })), 13737 t.components.remove()), 13738 t.utilities && 13739 (t.utilities.before(vt([...f], t.utilities.source, { layer: 'utilities' })), t.utilities.remove()); 13740 let p = Array.from(d).filter((w) => { 13741 let x = w.raws.tailwind?.parentLayer; 13742 return x === 'components' ? t.components !== null : x === 'utilities' ? t.utilities !== null : !0; 13743 }); 13744 t.variants 13745 ? (t.variants.before(vt(p, t.variants.source, { layer: 'variants' })), t.variants.remove()) 13746 : p.length > 0 && e.append(vt(p, e.source, { layer: 'variants' })), 13747 (e.source.end = e.source.end ?? e.source.start); 13748 let m = p.some((w) => w.raws.tailwind?.parentLayer === 'utilities'); 13749 t.utilities && 13750 f.size === 0 && 13751 !m && 13752 F.warn('content-problems', [ 13753 'No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.', 13754 'https://tailwindcss.com/docs/content-configuration', 13755 ]), 13756 Ye.DEBUG && (console.log('Potential classes: ', r.size), console.log('Active contexts: ', gn.size)), 13757 (i.changedContent = []), 13758 e.walkAtRules('layer', (w) => { 13759 Object.keys(t).includes(w.params) && w.remove(); 13760 }); 13761 }; 13762 } 13763 var Sh, 13764 Ye, 13765 Ch, 13766 Ah, 13767 ti, 13768 _h = C(() => { 13769 l(); 13770 je(); 13771 Sh = K(Qn()); 13772 ot(); 13773 Sn(); 13774 Oe(); 13775 yh(); 13776 kh(); 13777 (Ye = Pe), 13778 (Ch = { DEFAULT: xh }), 13779 (Ah = { 13780 DEFAULT: (i) => i, 13781 svelte: (i) => i.replace(/(?:^|\s)class:/g, ' '), 13782 }); 13783 ti = new WeakMap(); 13784 }); 13785 function Pn(i) { 13786 let e = new Map(); 13787 V.root({ nodes: [i.clone()] }).walkRules((a) => { 13788 (0, Tn.default)((s) => { 13789 s.walkClasses((o) => { 13790 let u = o.parent.toString(), 13791 c = e.get(u); 13792 c || e.set(u, (c = new Set())), c.add(o.value); 13793 }); 13794 }).processSync(a.selector); 13795 }); 13796 let r = Array.from(e.values(), (a) => Array.from(a)), 13797 n = r.flat(); 13798 return Object.assign(n, { groups: r }); 13799 } 13800 function Eo(i) { 13801 return w2.astSync(i); 13802 } 13803 function Oh(i, e) { 13804 let t = new Set(); 13805 for (let r of i) t.add(r.split(e).pop()); 13806 return Array.from(t); 13807 } 13808 function Eh(i, e) { 13809 let t = i.tailwindConfig.prefix; 13810 return typeof t == 'function' ? t(e) : t + e; 13811 } 13812 function* Th(i) { 13813 for (yield i; i.parent; ) yield i.parent, (i = i.parent); 13814 } 13815 function b2(i, e = {}) { 13816 let t = i.nodes; 13817 i.nodes = []; 13818 let r = i.clone(e); 13819 return (i.nodes = t), r; 13820 } 13821 function v2(i) { 13822 for (let e of Th(i)) 13823 if (i !== e) { 13824 if (e.type === 'root') break; 13825 i = b2(e, { nodes: [i] }); 13826 } 13827 return i; 13828 } 13829 function x2(i, e) { 13830 let t = new Map(); 13831 return ( 13832 i.walkRules((r) => { 13833 for (let s of Th(r)) if (s.raws.tailwind?.layer !== void 0) return; 13834 let n = v2(r), 13835 a = e.offsets.create('user'); 13836 for (let s of Pn(r)) { 13837 let o = t.get(s) || []; 13838 t.set(s, o), o.push([{ layer: 'user', sort: a, important: !1 }, n]); 13839 } 13840 }), 13841 t 13842 ); 13843 } 13844 function k2(i, e) { 13845 for (let t of i) { 13846 if (e.notClassCache.has(t) || e.applyClassCache.has(t)) continue; 13847 if (e.classCache.has(t)) { 13848 e.applyClassCache.set( 13849 t,
13850 e.classCache.get(t).map(([n, a]) => [n, a.clone()]), 13851 ); 13852 continue; 13853 } 13854 let r = Array.from(ao(t, e)); 13855 if (r.length === 0) { 13856 e.notClassCache.add(t); 13857 continue; 13858 } 13859 e.applyClassCache.set(t, r); 13860 } 13861 return e.applyClassCache; 13862 } 13863 function S2(i) { 13864 let e = null; 13865 return { 13866 get: (t) => ((e = e || i()), e.get(t)), 13867 has: (t) => ((e = e || i()), e.has(t)), 13868 }; 13869 } 13870 function C2(i) { 13871 return { 13872 get: (e) => i.flatMap((t) => t.get(e) || []), 13873 has: (e) => i.some((t) => t.has(e)), 13874 }; 13875 } 13876 function Ph(i) { 13877 let e = i.split(/[\s\t\n]+/g); 13878 return e[e.length - 1] === '!important' ? [e.slice(0, -1), !0] : [e, !1]; 13879 } 13880 function Dh(i, e, t) { 13881 let r = new Set(), 13882 n = []; 13883 if ( 13884 (i.walkAtRules('apply', (u) => { 13885 let [c] = Ph(u.params); 13886 for (let f of c) r.add(f); 13887 n.push(u); 13888 }), 13889 n.length === 0) 13890 ) 13891 return; 13892 let a = C2([t, k2(r, e)]); 13893 function s(u, c, f) { 13894 let d = Eo(u), 13895 p = Eo(c), 13896 w = Eo(`.${de(f)}`).nodes[0].nodes[0]; 13897 return ( 13898 d.each((x) => { 13899 let y = new Set(); 13900 p.each((b) => { 13901 let k = !1; 13902 (b = b.clone()), 13903 b.walkClasses((S) => { 13904 S.value === w.value && 13905 (k || (S.replaceWith(...x.nodes.map((_) => _.clone())), y.add(b), (k = !0))); 13906 }); 13907 }); 13908 for (let b of y) { 13909 let k = [[]]; 13910 for (let S of b.nodes) 13911 S.type === 'combinator' ? (k.push(S), k.push([])) : k[k.length - 1].push(S); 13912 b.nodes = []; 13913 for (let S of k) 13914 Array.isArray(S) && 13915 S.sort((_, O) => 13916 _.type === 'tag' && O.type === 'class' 13917 ? -1 13918 : _.type === 'class' && O.type === 'tag' 13919 ? 1 13920 : _.type === 'class' && O.type === 'pseudo' && O.value.startsWith('::') 13921 ? -1 13922 : _.type === 'pseudo' && _.value.startsWith('::') && O.type === 'class' 13923 ? 1 13924 : 0, 13925 ), 13926 (b.nodes = b.nodes.concat(S)); 13927 } 13928 x.replaceWith(...y); 13929 }), 13930 d.toString() 13931 ); 13932 } 13933 let o = new Map(); 13934 for (let u of n) { 13935 let [c] = o.get(u.parent) || [[], u.source]; 13936 o.set(u.parent, [c, u.source]); 13937 let [f, d] = Ph(u.params); 13938 if (u.parent.type === 'atrule') { 13939 if (u.parent.name === 'screen') { 13940 let p = u.parent.params; 13941 throw u.error( 13942 `@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${f 13943 .map((m) => `${p}:${m}`) 13944 .join(' ')} instead.`, 13945 ); 13946 } 13947 throw u.error( 13948 `@apply is not supported within nested at-rules like @${u.parent.name}. You can fix this by un-nesting @${u.parent.name}.`, 13949 ); 13950 } 13951 for (let p of f) { 13952 if ([Eh(e, 'group'), Eh(e, 'peer')].includes(p)) 13953 throw u.error(`@apply should not be used with the '${p}' utility`); 13954 if (!a.has(p)) 13955 throw u.error( 13956 `The \`${p}\` class does not exist. If \`${p}\` is a custom class, make sure it is defined within a \`@layer\` directive.`, 13957 ); 13958 let m = a.get(p); 13959 c.push([p, d, m]); 13960 } 13961 } 13962 for (let [u, [c, f]] of o) { 13963 let d = []; 13964 for (let [m, w, x] of c) { 13965 let y = [m, ...Oh([m], e.tailwindConfig.separator)]; 13966 for (let [b, k] of x) { 13967 let S = Pn(u), 13968 _ = Pn(k); 13969 if ( 13970 ((_ = _.groups.filter((q) => q.some((X) => y.includes(X))).flat()), 13971 (_ = _.concat(Oh(_, e.tailwindConfig.separator))), 13972 S.some((q) => _.includes(q))) 13973 ) 13974 throw k.error( 13975 `You cannot \`@apply\` the \`${m}\` utility here because it creates a circular dependency.`, 13976 ); 13977 let I = V.root({ nodes: [k.clone()] }); 13978 I.walk((q) => { 13979 q.source = f; 13980 }), 13981 (k.type !== 'atrule' || (k.type === 'atrule' && k.name !== 'keyframes')) && 13982 I.walkRules((q) => { 13983 if (!Pn(q).some((j) => j === m)) { 13984 q.remove(); 13985 return; 13986 } 13987 let X = 13988 typeof e.tailwindConfig.important == 'string' 13989 ? e.tailwindConfig.important 13990 : null, 13991 ce = 13992 u.raws.tailwind !== void 0 && X && u.selector.indexOf(X) === 0 13993 ? u.selector.slice(X.length) 13994 : u.selector; 13995 ce === '' && (ce = u.selector), 13996 (q.selector = s(ce, q.selector, m)), 13997 X && ce !== u.selector && (q.selector = bn(q.selector, X)), 13998 q.walkDecls((j) => { 13999 j.important = b.important || w; 14000 });
14001 let $e = (0, Tn.default)().astSync(q.selector); 14002 $e.each((j) => Lt(j)), (q.selector = $e.toString()); 14003 }), 14004 !!I.nodes[0] && d.push([b.sort, I.nodes[0]]); 14005 } 14006 } 14007 let p = e.offsets.sort(d).map((m) => m[1]); 14008 u.after(p); 14009 } 14010 for (let u of n) u.parent.nodes.length > 1 ? u.remove() : u.parent.remove(); 14011 Dh(i, e, t); 14012 } 14013 function To(i) { 14014 return (e) => { 14015 let t = S2(() => x2(e, i)); 14016 Dh(e, i, t); 14017 }; 14018 } 14019 var Tn, 14020 w2, 14021 Ih = C(() => { 14022 l(); 14023 nt(); 14024 Tn = K(Re()); 14025 Sn(); 14026 Ft(); 14027 io(); 14028 yn(); 14029 w2 = (0, Tn.default)(); 14030 }); 14031 var qh = v((P6, Dn) => { 14032 l(); 14033 (function () { 14034 'use strict'; 14035 function i(r, n, a) { 14036 if (!r) return null; 14037 i.caseSensitive || (r = r.toLowerCase()); 14038 var s = i.threshold === null ? null : i.threshold * r.length, 14039 o = i.thresholdAbsolute, 14040 u; 14041 s !== null && o !== null 14042 ? (u = Math.min(s, o)) 14043 : s !== null 14044 ? (u = s) 14045 : o !== null 14046 ? (u = o) 14047 : (u = null); 14048 var c, 14049 f, 14050 d, 14051 p, 14052 m, 14053 w = n.length; 14054 for (m = 0; m < w; m++) 14055 if ( 14056 ((f = n[m]), 14057 a && (f = f[a]), 14058 !!f && 14059 (i.caseSensitive ? (d = f) : (d = f.toLowerCase()), 14060 (p = t(r, d, u)), 14061 (u === null || p < u) && 14062 ((u = p), a && i.returnWinningObject ? (c = n[m]) : (c = f), i.returnFirstMatch))) 14063 ) 14064 return c; 14065 return c || i.nullResultValue; 14066 } 14067 (i.threshold = 0.4), 14068 (i.thresholdAbsolute = 20), 14069 (i.caseSensitive = !1), 14070 (i.nullResultValue = null), 14071 (i.returnWinningObject = null), 14072 (i.returnFirstMatch = !1), 14073 typeof Dn != 'undefined' && Dn.exports ? (Dn.exports = i) : (window.didYouMean = i); 14074 var e = Math.pow(2, 32) - 1; 14075 function t(r, n, a) { 14076 a = a || a === 0 ? a : e; 14077 var s = r.length, 14078 o = n.length; 14079 if (s === 0) return Math.min(a + 1, o); 14080 if (o === 0) return Math.min(a + 1, s); 14081 if (Math.abs(s - o) > a) return a + 1; 14082 var u = [], 14083 c, 14084 f, 14085 d, 14086 p, 14087 m; 14088 for (c = 0; c <= o; c++) u[c] = [c]; 14089 for (f = 0; f <= s; f++) u[0][f] = f; 14090 for (c = 1; c <= o; c++) { 14091 for (d = e, p = 1, c > a && (p = c - a), m = o + 1, m > a + c && (m = a + c), f = 1; f <= s; f++) 14092 f < p || f > m 14093 ? (u[c][f] = a + 1) 14094 : n.charAt(c - 1) === r.charAt(f - 1) 14095 ? (u[c][f] = u[c - 1][f - 1]) 14096 : (u[c][f] = Math.min(u[c - 1][f - 1] + 1, Math.min(u[c][f - 1] + 1, u[c - 1][f] + 1))), 14097 u[c][f] < d && (d = u[c][f]); 14098 if (d > a) return a + 1; 14099 } 14100 return u[o][s]; 14101 } 14102 })(); 14103 }); 14104 var Mh = v((D6, Rh) => { 14105 l(); 14106 var Po = '('.charCodeAt(0), 14107 Do = ')'.charCodeAt(0), 14108 In = "'".charCodeAt(0), 14109 Io = '"'.charCodeAt(0), 14110 qo = '\\'.charCodeAt(0), 14111 zt = '/'.charCodeAt(0), 14112 Ro = ','.charCodeAt(0), 14113 Mo = ':'.charCodeAt(0), 14114 qn = '*'.charCodeAt(0), 14115 A2 = 'u'.charCodeAt(0), 14116 _2 = 'U'.charCodeAt(0), 14117 O2 = '+'.charCodeAt(0), 14118 E2 = /^[a-f0-9?-]+$/i; 14119 Rh.exports = function (i) { 14120 for ( 14121 var e = [], 14122 t = i, 14123 r, 14124 n, 14125 a, 14126 s, 14127 o, 14128 u, 14129 c, 14130 f, 14131 d = 0, 14132 p = t.charCodeAt(d), 14133 m = t.length, 14134 w = [{ nodes: e }], 14135 x = 0, 14136 y, 14137 b = '', 14138 k = '', 14139 S = ''; 14140 d < m; 14141 14142 ) 14143 if (p <= 32) { 14144 r = d; 14145 do (r += 1), (p = t.charCodeAt(r)); 14146 while (p <= 32); 14147 (s = t.slice(d, r)), 14148 (a = e[e.length - 1]), 14149 p === Do && x 14150 ? (S = s) 14151 : a && a.type === 'div' 14152 ? ((a.after = s), (a.sourceEndIndex += s.length)) 14153 : p === Ro || 14154 p === Mo || 14155 (p === zt && t.charCodeAt(r + 1) !== qn && (!y || (y && y.type === 'function' && !1))) 14156 ? (k = s) 14157 : e.push({ 14158 type: 'space', 14159 sourceIndex: d, 14160 sourceEndIndex: r, 14161 value: s, 14162 }), 14163 (d = r); 14164 } else if (p === In || p === Io) { 14165 (r = d), (n = p === In ? "'" : '"'), (s = { type: 'string', sourceIndex: d, quote: n }); 14166 do 14167 if (((o = !1), (r = t.indexOf(n, r + 1)), ~r)) 14168 for (u = r; t.charCodeAt(u - 1) === qo; ) (u -= 1), (o = !o); 14169 else (t += n), (r = t.length - 1), (s.unclosed = !0);
14170 while (o); 14171 (s.value = t.slice(d + 1, r)), 14172 (s.sourceEndIndex = s.unclosed ? r : r + 1), 14173 e.push(s), 14174 (d = r + 1), 14175 (p = t.charCodeAt(d)); 14176 } else if (p === zt && t.charCodeAt(d + 1) === qn) 14177 (r = t.indexOf('*/', d)), 14178 (s = { type: 'comment', sourceIndex: d, sourceEndIndex: r + 2 }), 14179 r === -1 && ((s.unclosed = !0), (r = t.length), (s.sourceEndIndex = r)), 14180 (s.value = t.slice(d + 2, r)), 14181 e.push(s), 14182 (d = r + 2), 14183 (p = t.charCodeAt(d)); 14184 else if ((p === zt || p === qn) && y && y.type === 'function') 14185 (s = t[d]), 14186 e.push({ 14187 type: 'word', 14188 sourceIndex: d - k.length, 14189 sourceEndIndex: d + s.length, 14190 value: s, 14191 }), 14192 (d += 1), 14193 (p = t.charCodeAt(d)); 14194 else if (p === zt || p === Ro || p === Mo) 14195 (s = t[d]), 14196 e.push({ 14197 type: 'div', 14198 sourceIndex: d - k.length, 14199 sourceEndIndex: d + s.length, 14200 value: s, 14201 before: k, 14202 after: '', 14203 }), 14204 (k = ''), 14205 (d += 1), 14206 (p = t.charCodeAt(d)); 14207 else if (Po === p) { 14208 r = d; 14209 do (r += 1), (p = t.charCodeAt(r)); 14210 while (p <= 32); 14211 if ( 14212 ((f = d), 14213 (s = { 14214 type: 'function', 14215 sourceIndex: d - b.length, 14216 value: b, 14217 before: t.slice(f + 1, r), 14218 }), 14219 (d = r), 14220 b === 'url' && p !== In && p !== Io) 14221 ) { 14222 r -= 1; 14223 do 14224 if (((o = !1), (r = t.indexOf(')', r + 1)), ~r)) 14225 for (u = r; t.charCodeAt(u - 1) === qo; ) (u -= 1), (o = !o); 14226 else (t += ')'), (r = t.length - 1), (s.unclosed = !0); 14227 while (o); 14228 c = r; 14229 do (c -= 1), (p = t.charCodeAt(c)); 14230 while (p <= 32); 14231 f < c 14232 ? (d !== c + 1 14233 ? (s.nodes = [ 14234 { 14235 type: 'word', 14236 sourceIndex: d, 14237 sourceEndIndex: c + 1, 14238 value: t.slice(d, c + 1), 14239 }, 14240 ]) 14241 : (s.nodes = []), 14242 s.unclosed && c + 1 !== r 14243 ? ((s.after = ''), 14244 s.nodes.push({ 14245 type: 'space', 14246 sourceIndex: c + 1, 14247 sourceEndIndex: r, 14248 value: t.slice(c + 1, r), 14249 })) 14250 : ((s.after = t.slice(c + 1, r)), (s.sourceEndIndex = r))) 14251 : ((s.after = ''), (s.nodes = [])), 14252 (d = r + 1), 14253 (s.sourceEndIndex = s.unclosed ? r : d), 14254 (p = t.charCodeAt(d)), 14255 e.push(s); 14256 } else 14257 (x += 1), 14258 (s.after = ''), 14259 (s.sourceEndIndex = d + 1), 14260 e.push(s), 14261 w.push(s), 14262 (e = s.nodes = []), 14263 (y = s); 14264 b = ''; 14265 } else if (Do === p && x) 14266 (d += 1), 14267 (p = t.charCodeAt(d)), 14268 (y.after = S), 14269 (y.sourceEndIndex += S.length), 14270 (S = ''), 14271 (x -= 1), 14272 (w[w.length - 1].sourceEndIndex = d), 14273 w.pop(), 14274 (y = w[x]), 14275 (e = y.nodes); 14276 else { 14277 r = d; 14278 do p === qo && (r += 1), (r += 1), (p = t.charCodeAt(r)); 14279 while ( 14280 r < m && 14281 !( 14282 p <= 32 || 14283 p === In || 14284 p === Io || 14285 p === Ro || 14286 p === Mo || 14287 p === zt || 14288 p === Po || 14289 (p === qn && y && y.type === 'function' && !0) || 14290 (p === zt && y.type === 'function' && !0) || 14291 (p === Do && x) 14292 ) 14293 ); 14294 (s = t.slice(d, r)), 14295 Po === p 14296 ? (b = s) 14297 : (A2 === s.charCodeAt(0) || _2 === s.charCodeAt(0)) && 14298 O2 === s.charCodeAt(1) && 14299 E2.test(s.slice(2)) 14300 ? e.push({ 14301 type: 'unicode-range', 14302 sourceIndex: d, 14303 sourceEndIndex: r, 14304 value: s, 14305 }) 14306 : e.push({ 14307 type: 'word', 14308 sourceIndex: d, 14309 sourceEndIndex: r, 14310 value: s, 14311 }), 14312 (d = r); 14313 } 14314 for (d = w.length - 1; d; d -= 1) (w[d].unclosed = !0), (w[d].sourceEndIndex = t.length); 14315 return w[0].nodes; 14316 }; 14317 }); 14318 var Fh = v((I6, Bh) => { 14319 l(); 14320 Bh.exports = function i(e, t, r) { 14321 var n, a, s, o; 14322 for (n = 0, a = e.length; n < a; n += 1) 14323 (s = e[n]), 14324 r || (o = t(s, n, e)), 14325 o !== !1 && s.type === 'function' && Array.isArray(s.nodes) && i(s.nodes, t, r), 14326 r && t(s, n, e); 14327 }; 14328 }); 14329 var jh = v((q6, $h) => { 14330 l(); 14331 function Nh(i, e) { 14332 var t = i.type, 14333 r = i.value, 14334 n, 14335 a; 14336 return e && (a = e(i)) !== void 0 14337 ? a 14338 : t === 'word' || t === 'space' 14339 ? r 14340 : t === 'string' 14341 ? ((n = i.quote || ''), n + r + (i.unclosed ? '' : n)) 14342 : t === 'comment' 14343 ? '/*' + r + (i.unclosed ? '' : '*/') 14344 : t === 'div' 14345 ? (i.before || '') + r + (i.after || '') 14346 : Array.isArray(i.nodes) 14347 ? ((n = Lh(i.nodes, e)), 14348 t !== 'function' ? n : r + '(' + (i.before || '') + n + (i.after || '') + (i.unclosed ? '' : ')')) 14349 : r; 14350 } 14351 function Lh(i, e) { 14352 var t, r; 14353 if (Array.isArray(i)) { 14354 for (t = '', r = i.length - 1; ~r; r -= 1) t = Nh(i[r], e) + t; 14355 return t; 14356 } 14357 return Nh(i, e); 14358 } 14359 $h.exports = Lh; 14360 }); 14361 var Vh = v((R6, zh) => { 14362 l(); 14363 var Rn = '-'.charCodeAt(0), 14364 Mn = '+'.charCodeAt(0), 14365 Bo = '.'.charCodeAt(0), 14366 T2 = 'e'.charCodeAt(0), 14367 P2 = 'E'.charCodeAt(0); 14368 function D2(i) {
14369 var e = i.charCodeAt(0), 14370 t; 14371 if (e === Mn || e === Rn) { 14372 if (((t = i.charCodeAt(1)), t >= 48 && t <= 57)) return !0; 14373 var r = i.charCodeAt(2); 14374 return t === Bo && r >= 48 && r <= 57; 14375 } 14376 return e === Bo ? ((t = i.charCodeAt(1)), t >= 48 && t <= 57) : e >= 48 && e <= 57; 14377 } 14378 zh.exports = function (i) { 14379 var e = 0, 14380 t = i.length, 14381 r, 14382 n, 14383 a; 14384 if (t === 0 || !D2(i)) return !1; 14385 for ( 14386 r = i.charCodeAt(e), (r === Mn || r === Rn) && e++; 14387 e < t && ((r = i.charCodeAt(e)), !(r < 48 || r > 57)); 14388 14389 ) 14390 e += 1; 14391 if (((r = i.charCodeAt(e)), (n = i.charCodeAt(e + 1)), r === Bo && n >= 48 && n <= 57)) 14392 for (e += 2; e < t && ((r = i.charCodeAt(e)), !(r < 48 || r > 57)); ) e += 1; 14393 if ( 14394 ((r = i.charCodeAt(e)), 14395 (n = i.charCodeAt(e + 1)), 14396 (a = i.charCodeAt(e + 2)), 14397 (r === T2 || r === P2) && ((n >= 48 && n <= 57) || ((n === Mn || n === Rn) && a >= 48 && a <= 57))) 14398 ) 14399 for (e += n === Mn || n === Rn ? 3 : 2; e < t && ((r = i.charCodeAt(e)), !(r < 48 || r > 57)); ) e += 1; 14400 return { number: i.slice(0, e), unit: i.slice(e) }; 14401 }; 14402 }); 14403 var Hh = v((M6, Gh) => { 14404 l(); 14405 var I2 = Mh(), 14406 Uh = Fh(), 14407 Wh = jh(); 14408 function ft(i) { 14409 return this instanceof ft ? ((this.nodes = I2(i)), this) : new ft(i); 14410 } 14411 ft.prototype.toString = function () { 14412 return Array.isArray(this.nodes) ? Wh(this.nodes) : ''; 14413 }; 14414 ft.prototype.walk = function (i, e) { 14415 return Uh(this.nodes, i, e), this; 14416 }; 14417 ft.unit = Vh(); 14418 ft.walk = Uh; 14419 ft.stringify = Wh; 14420 Gh.exports = ft; 14421 }); 14422 function No(i) { 14423 return typeof i == 'object' && i !== null; 14424 } 14425 function q2(i, e) { 14426 let t = Ke(e); 14427 do if ((t.pop(), (0, ri.default)(i, t) !== void 0)) break; 14428 while (t.length); 14429 return t.length ? t : void 0; 14430 } 14431 function Vt(i) { 14432 return typeof i == 'string' 14433 ? i 14434 : i.reduce((e, t, r) => (t.includes('.') ? `${e}[${t}]` : r === 0 ? t : `${e}.${t}`), ''); 14435 } 14436 function Qh(i) { 14437 return i.map((e) => `'${e}'`).join(', '); 14438 } 14439 function Jh(i) { 14440 return Qh(Object.keys(i)); 14441 } 14442 function Lo(i, e, t, r = {}) { 14443 let n = Array.isArray(e) ? Vt(e) : e.replace(/^['"]+|['"]+$/g, ''), 14444 a = Array.isArray(e) ? e : Ke(n), 14445 s = (0, ri.default)(i.theme, a, t); 14446 if (s === void 0) { 14447 let u = `'${n}' does not exist in your theme config.`, 14448 c = a.slice(0, -1), 14449 f = (0, ri.default)(i.theme, c); 14450 if (No(f)) { 14451 let d = Object.keys(f).filter((m) => Lo(i, [...c, m]).isValid), 14452 p = (0, Yh.default)(a[a.length - 1], d); 14453 p 14454 ? (u += ` Did you mean '${Vt([...c, p])}'?`) 14455 : d.length > 0 && (u += ` '${Vt(c)}' has the following valid keys: ${Qh(d)}`); 14456 } else { 14457 let d = q2(i.theme, n); 14458 if (d) { 14459 let p = (0, ri.default)(i.theme, d); 14460 No(p) 14461 ? (u += ` '${Vt(d)}' has the following keys: ${Jh(p)}`) 14462 : (u += ` '${Vt(d)}' is not an object.`); 14463 } else u += ` Your theme has the following top-level keys: ${Jh(i.theme)}`; 14464 } 14465 return { isValid: !1, error: u }; 14466 } 14467 if ( 14468 !( 14469 typeof s == 'string' || 14470 typeof s == 'number' || 14471 typeof s == 'function' || 14472 s instanceof String || 14473 s instanceof Number || 14474 Array.isArray(s) 14475 ) 14476 ) { 14477 let u = `'${n}' was found but does not resolve to a string.`; 14478 if (No(s)) { 14479 let c = Object.keys(s).filter((f) => Lo(i, [...a, f]).isValid); 14480 c.length && (u += ` Did you mean something like '${Vt([...a, c[0]])}'?`); 14481 } 14482 return { isValid: !1, error: u }; 14483 } 14484 let [o] = a; 14485 return { isValid: !0, value: Ge(o)(s, r) }; 14486 } 14487 function R2(i, e, t) { 14488 e = e.map((n) => Xh(i, n, t)); 14489 let r = ['']; 14490 for (let n of e) 14491 n.type === 'div' && n.value === ',' ? r.push('') : (r[r.length - 1] += Fo.default.stringify(n)); 14492 return r; 14493 } 14494 function Xh(i, e, t) { 14495 if (e.type === 'function' && t[e.value] !== void 0) { 14496 let r = R2(i, e.nodes, t); 14497 (e.type = 'word'), (e.value = t[e.value](i, ...r)); 14498 } 14499 return e; 14500 } 14501 function M2(i, e, t) { 14502 return Object.keys(t).some((n) => e.includes(`${n}(`)) 14503 ? (0, Fo.default)(e) 14504 .walk((n) => { 14505 Xh(i, n, t); 14506 }) 14507 .toString() 14508 : e; 14509 } 14510 function* F2(i) { 14511 i = i.replace(/^['"]+|['"]+$/g, ''); 14512 let e = i.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]+))$/), 14513 t; 14514 yield [i, void 0], e && ((i = e[1]), (t = e[2]), yield [i, t]); 14515 } 14516 function N2(i, e, t) {
14517 let r = Array.from(F2(e)).map(([n, a]) => 14518 Object.assign(Lo(i, n, t, { opacityValue: a }), { 14519 resolvedPath: n, 14520 alpha: a, 14521 }), 14522 ); 14523 return r.find((n) => n.isValid) ?? r[0]; 14524 } 14525 function Kh(i) { 14526 let e = i.tailwindConfig, 14527 t = { 14528 theme: (r, n, ...a) => { 14529 let { isValid: s, value: o, error: u, alpha: c } = N2(e, n, a.length ? a : void 0); 14530 if (!s) { 14531 let p = r.parent, 14532 m = p?.raws.tailwind?.candidate; 14533 if (p && m !== void 0) { 14534 i.markInvalidUtilityNode(p), 14535 p.remove(), 14536 F.warn('invalid-theme-key-in-class', [ 14537 `The utility \`${m}\` contains an invalid theme value and was not generated.`, 14538 ]); 14539 return; 14540 } 14541 throw r.error(u); 14542 } 14543 let f = Ct(o), 14544 d = f !== void 0 && typeof f == 'function'; 14545 return (c !== void 0 || d) && (c === void 0 && (c = 1), (o = De(f, c, f))), o; 14546 }, 14547 screen: (r, n) => { 14548 n = n.replace(/^['"]+/g, '').replace(/['"]+$/g, ''); 14549 let s = at(e.theme.screens).find(({ name: o }) => o === n); 14550 if (!s) throw r.error(`The '${n}' screen does not exist in your theme.`); 14551 return st(s); 14552 }, 14553 }; 14554 return (r) => { 14555 r.walk((n) => { 14556 let a = B2[n.type]; 14557 a !== void 0 && (n[a] = M2(n, n[a], t)); 14558 }); 14559 }; 14560 } 14561 var ri, 14562 Yh, 14563 Fo, 14564 B2, 14565 Zh = C(() => { 14566 l(); 14567 (ri = K(Ls())), (Yh = K(qh())); 14568 Hr(); 14569 Fo = K(Hh()); 14570 hn(); 14571 cn(); 14572 pi(); 14573 or(); 14574 cr(); 14575 Oe(); 14576 B2 = { atrule: 'params', decl: 'value' }; 14577 }); 14578 function em({ tailwindConfig: { theme: i } }) { 14579 return function (e) { 14580 e.walkAtRules('screen', (t) => { 14581 let r = t.params, 14582 a = at(i.screens).find(({ name: s }) => s === r); 14583 if (!a) throw t.error(`No \`${r}\` screen found.`); 14584 (t.name = 'media'), (t.params = st(a)); 14585 }); 14586 }; 14587 } 14588 var tm = C(() => { 14589 l(); 14590 hn(); 14591 cn(); 14592 }); 14593 function L2(i) { 14594 let e = i 14595 .filter((o) => 14596 o.type !== 'pseudo' || o.nodes.length > 0 14597 ? !0 14598 : o.value.startsWith('::') || 14599 [':before', ':after', ':first-line', ':first-letter'].includes(o.value), 14600 ) 14601 .reverse(), 14602 t = new Set(['tag', 'class', 'id', 'attribute']), 14603 r = e.findIndex((o) => t.has(o.type)); 14604 if (r === -1) return e.reverse().join('').trim(); 14605 let n = e[r], 14606 a = rm[n.type] ? rm[n.type](n) : n; 14607 e = e.slice(0, r); 14608 let s = e.findIndex((o) => o.type === 'combinator' && o.value === '>'); 14609 return s !== -1 && (e.splice(0, s), e.unshift(Bn.default.universal())), [a, ...e.reverse()].join('').trim(); 14610 } 14611 function j2(i) { 14612 return $o.has(i) || $o.set(i, $2.transformSync(i)), $o.get(i); 14613 } 14614 function jo({ tailwindConfig: i }) { 14615 return (e) => { 14616 let t = new Map(), 14617 r = new Set(); 14618 if ( 14619 (e.walkAtRules('defaults', (n) => { 14620 if (n.nodes && n.nodes.length > 0) { 14621 r.add(n); 14622 return; 14623 } 14624 let a = n.params; 14625 t.has(a) || t.set(a, new Set()), t.get(a).add(n.parent), n.remove(); 14626 }), 14627 Z(i, 'optimizeUniversalDefaults')) 14628 ) 14629 for (let n of r) { 14630 let a = new Map(), 14631 s = t.get(n.params) ?? []; 14632 for (let o of s) 14633 for (let u of j2(o.selector)) { 14634 let c = u.includes(':-') || u.includes('::-') ? u : '__DEFAULT__', 14635 f = a.get(c) ?? new Set(); 14636 a.set(c, f), f.add(u); 14637 } 14638 if (Z(i, 'optimizeUniversalDefaults')) { 14639 if (a.size === 0) { 14640 n.remove(); 14641 continue; 14642 } 14643 for (let [, o] of a) { 14644 let u = V.rule({ source: n.source }); 14645 (u.selectors = [...o]), u.append(n.nodes.map((c) => c.clone())), n.before(u); 14646 } 14647 } 14648 n.remove(); 14649 } 14650 else if (r.size) { 14651 let n = V.rule({ selectors: ['*', '::before', '::after'] }); 14652 for (let s of r) 14653 n.append(s.nodes), n.parent || s.before(n), n.source || (n.source = s.source), s.remove(); 14654 let a = n.clone({ selectors: ['::backdrop'] }); 14655 n.after(a); 14656 } 14657 }; 14658 } 14659 var Bn, 14660 rm, 14661 $2, 14662 $o, 14663 im = C(() => { 14664 l(); 14665 nt(); 14666 Bn = K(Re()); 14667 ze(); 14668 rm = { 14669 id(i) { 14670 return Bn.default.attribute({ 14671 attribute: 'id', 14672 operator: '=', 14673 value: i.value, 14674 quoteMark: '"', 14675 });
14676 }, 14677 }; 14678 ($2 = (0, Bn.default)((i) => 14679 i.map((e) => { 14680 let t = e.split((r) => r.type === 'combinator' && r.value === ' ').pop(); 14681 return L2(t); 14682 }), 14683 )), 14684 ($o = new Map()); 14685 }); 14686 function zo() { 14687 function i(e) { 14688 let t = null; 14689 e.each((r) => { 14690 if (!z2.has(r.type)) { 14691 t = null; 14692 return; 14693 } 14694 if (t === null) { 14695 t = r; 14696 return; 14697 } 14698 let n = nm[r.type]; 14699 r.type === 'atrule' && r.name === 'font-face' 14700 ? (t = r) 14701 : n.every((a) => (r[a] ?? '').replace(/\s+/g, ' ') === (t[a] ?? '').replace(/\s+/g, ' ')) 14702 ? (r.nodes && t.append(r.nodes), r.remove()) 14703 : (t = r); 14704 }), 14705 e.each((r) => { 14706 r.type === 'atrule' && i(r); 14707 }); 14708 } 14709 return (e) => { 14710 i(e); 14711 }; 14712 } 14713 var nm, 14714 z2, 14715 sm = C(() => { 14716 l(); 14717 (nm = { atrule: ['name', 'params'], rule: ['selector'] }), (z2 = new Set(Object.keys(nm))); 14718 }); 14719 function Vo() { 14720 return (i) => { 14721 i.walkRules((e) => { 14722 let t = new Map(), 14723 r = new Set([]), 14724 n = new Map(); 14725 e.walkDecls((a) => { 14726 if (a.parent === e) { 14727 if (t.has(a.prop)) { 14728 if (t.get(a.prop).value === a.value) { 14729 r.add(t.get(a.prop)), t.set(a.prop, a); 14730 return; 14731 } 14732 n.has(a.prop) || n.set(a.prop, new Set()), 14733 n.get(a.prop).add(t.get(a.prop)), 14734 n.get(a.prop).add(a); 14735 } 14736 t.set(a.prop, a); 14737 } 14738 }); 14739 for (let a of r) a.remove(); 14740 for (let a of n.values()) { 14741 let s = new Map(); 14742 for (let o of a) { 14743 let u = U2(o.value); 14744 u !== null && (s.has(u) || s.set(u, new Set()), s.get(u).add(o)); 14745 } 14746 for (let o of s.values()) { 14747 let u = Array.from(o).slice(0, -1); 14748 for (let c of u) c.remove(); 14749 } 14750 } 14751 }); 14752 }; 14753 } 14754 function U2(i) { 14755 let e = /^-?\d*.?\d+([\w%]+)?$/g.exec(i); 14756 return e ? e[1] ?? V2 : null; 14757 } 14758 var V2, 14759 am = C(() => { 14760 l(); 14761 V2 = Symbol('unitless-number'); 14762 }); 14763 function W2(i) { 14764 if (!i.walkAtRules) return; 14765 let e = new Set(); 14766 if ( 14767 (i.walkAtRules('apply', (t) => { 14768 e.add(t.parent); 14769 }), 14770 e.size !== 0) 14771 ) 14772 for (let t of e) { 14773 let r = [], 14774 n = []; 14775 for (let a of t.nodes) 14776 a.type === 'atrule' && a.name === 'apply' 14777 ? (n.length > 0 && (r.push(n), (n = [])), r.push([a])) 14778 : n.push(a); 14779 if ((n.length > 0 && r.push(n), r.length !== 1)) { 14780 for (let a of [...r].reverse()) { 14781 let s = t.clone({ nodes: [] }); 14782 s.append(a), t.after(s); 14783 } 14784 t.remove(); 14785 } 14786 } 14787 } 14788 function Fn() { 14789 return (i) => { 14790 W2(i); 14791 }; 14792 } 14793 var om = C(() => { 14794 l(); 14795 }); 14796 function G2(i) { 14797 return i.type === 'root'; 14798 } 14799 function H2(i) { 14800 return i.type === 'atrule' && i.name === 'layer'; 14801 } 14802 function lm(i) { 14803 return (e, t) => { 14804 let r = !1; 14805 e.walkAtRules('tailwind', (n) => { 14806 if (r) return !1; 14807 if (n.parent && !(G2(n.parent) || H2(n.parent))) 14808 return ( 14809 (r = !0), 14810 n.warn( 14811 t, 14812 [ 14813 'Nested @tailwind rules were detected, but are not supported.', 14814 "Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix", 14815 'Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy', 14816 ].join(` 14817`), 14818 ), 14819 !1 14820 ); 14821 }), 14822 e.walkRules((n) => { 14823 if (r) return !1; 14824 n.walkRules( 14825 (a) => ( 14826 (r = !0), 14827 a.warn( 14828 t, 14829 [ 14830 'Nested CSS was detected, but CSS nesting has not been configured correctly.', 14831 'Please enable a CSS nesting plugin *before* Tailwind in your configuration.', 14832 'See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting', 14833 ].join(` 14834`), 14835 ), 14836 !1 14837 ), 14838 ); 14839 }); 14840 }; 14841 } 14842 var um = C(() => { 14843 l(); 14844 }); 14845 function Nn(i) { 14846 return async function (e, t) { 14847 let { tailwindDirectives: r, applyDirectives: n } = Co(e); 14848 lm()(e, t), Fn()(e, t); 14849 let a = i({ 14850 tailwindDirectives: r, 14851 applyDirectives: n, 14852 registerDependency(s) { 14853 t.messages.push({ plugin: 'tailwindcss', parent: t.opts.from, ...s }); 14854 }, 14855 createContext(s, o) { 14856 return mo(s, o, e); 14857 }, 14858 })(e, t); 14859 if (a.tailwindConfig.separator === '-') 14860 throw new Error( 14861 "The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead.", 14862 ); 14863 _u(a.tailwindConfig), 14864 await Oo(a)(e, t), 14865 Fn()(e, t), 14866 To(a)(e, t), 14867 Kh(a)(e, t), 14868 em(a)(e, t), 14869 jo(a)(e, t), 14870 zo(a)(e, t), 14871 Vo(a)(e, t); 14872 }; 14873 } 14874 var fm = C(() => { 14875 l(); 14876 mh(); 14877 _h(); 14878 Ih(); 14879 Zh(); 14880 tm(); 14881 im(); 14882 sm(); 14883 am(); 14884 om(); 14885 um();
14886 Xr(); 14887 ze(); 14888 }); 14889 function cm(i, e) { 14890 let t = null, 14891 r = null; 14892 return ( 14893 i.walkAtRules('config', (n) => { 14894 if (((r = n.source?.input.file ?? e.opts.from ?? null), r === null)) 14895 throw n.error( 14896 'The `@config` directive cannot be used without setting `from` in your PostCSS config.', 14897 ); 14898 if (t) throw n.error('Only one `@config` directive is allowed per file.'); 14899 let a = n.params.match(/(['"])(.*?)\1/); 14900 if (!a) throw n.error('A path is required when using the `@config` directive.'); 14901 let s = a[2]; 14902 if (ee.isAbsolute(s)) throw n.error('The `@config` directive cannot be used with an absolute path.'); 14903 if (((t = ee.resolve(ee.dirname(r), s)), !re.existsSync(t))) 14904 throw n.error( 14905 `The config file at "${s}" does not exist. Make sure the path is correct and the file exists.`, 14906 ); 14907 n.remove(); 14908 }), 14909 t || null 14910 ); 14911 } 14912 var pm = C(() => { 14913 l(); 14914 je(); 14915 gt(); 14916 }); 14917 var dm = v((vI, Uo) => { 14918 l(); 14919 hh(); 14920 fm(); 14921 ot(); 14922 pm(); 14923 Uo.exports = function (e) { 14924 return { 14925 postcssPlugin: 'tailwindcss', 14926 plugins: [ 14927 Pe.DEBUG && 14928 function (t) { 14929 return ( 14930 console.log(` 14931`), 14932 console.time('JIT TOTAL'), 14933 t 14934 ); 14935 }, 14936 async function (t, r) { 14937 e = cm(t, r) ?? e; 14938 let n = So(e); 14939 if (t.type === 'document') { 14940 let a = t.nodes.filter((s) => s.type === 'root'); 14941 for (let s of a) s.type === 'root' && (await Nn(n)(s, r)); 14942 return; 14943 } 14944 await Nn(n)(t, r); 14945 }, 14946 !1, 14947 Pe.DEBUG && 14948 function (t) { 14949 return ( 14950 console.timeEnd('JIT TOTAL'), 14951 console.log(` 14952`), 14953 t 14954 ); 14955 }, 14956 ].filter(Boolean), 14957 }; 14958 }; 14959 Uo.exports.postcss = !0; 14960 }); 14961 var mm = v((xI, hm) => { 14962 l(); 14963 hm.exports = dm(); 14964 }); 14965 var Wo = v((kI, gm) => { 14966 l(); 14967 gm.exports = () => [ 14968 'and_chr 114', 14969 'and_uc 15.5', 14970 'chrome 114', 14971 'chrome 113', 14972 'chrome 109', 14973 'edge 114', 14974 'firefox 114', 14975 'ios_saf 16.5', 14976 'ios_saf 16.4', 14977 'ios_saf 16.3', 14978 'ios_saf 16.1', 14979 'opera 99', 14980 'safari 16.5', 14981 'samsung 21', 14982 ]; 14983 }); 14984 var Ln = {}; 14985 Ae(Ln, { agents: () => Y2, feature: () => Q2 }); 14986 function Q2() { 14987 return { 14988 status: 'cr', 14989 title: 'CSS Feature Queries', 14990 stats: { 14991 ie: { 6: 'n', 7: 'n', 8: 'n', 9: 'n', 10: 'n', 11: 'n', 5.5: 'n' }, 14992 edge: { 14993 12: 'y', 14994 13: 'y', 14995 14: 'y', 14996 15: 'y', 14997 16: 'y', 14998 17: 'y', 14999 18: 'y', 15000 79: 'y', 15001 80: 'y', 15002 81: 'y', 15003 83: 'y', 15004 84: 'y', 15005 85: 'y', 15006 86: 'y', 15007 87: 'y', 15008 88: 'y', 15009 89: 'y', 15010 90: 'y', 15011 91: 'y', 15012 92: 'y', 15013 93: 'y', 15014 94: 'y', 15015 95: 'y', 15016 96: 'y', 15017 97: 'y', 15018 98: 'y', 15019 99: 'y', 15020 100: 'y', 15021 101: 'y', 15022 102: 'y', 15023 103: 'y', 15024 104: 'y', 15025 105: 'y', 15026 106: 'y', 15027 107: 'y', 15028 108: 'y', 15029 109: 'y', 15030 110: 'y', 15031 111: 'y', 15032 112: 'y', 15033 113: 'y', 15034 114: 'y', 15035 }, 15036 firefox: { 15037 2: 'n', 15038 3: 'n', 15039 4: 'n', 15040 5: 'n', 15041 6: 'n', 15042 7: 'n', 15043 8: 'n', 15044 9: 'n', 15045 10: 'n', 15046 11: 'n', 15047 12: 'n', 15048 13: 'n', 15049 14: 'n', 15050 15: 'n', 15051 16: 'n', 15052 17: 'n', 15053 18: 'n', 15054 19: 'n', 15055 20: 'n', 15056 21: 'n', 15057 22: 'y', 15058 23: 'y', 15059 24: 'y', 15060 25: 'y', 15061 26: 'y', 15062 27: 'y', 15063 28: 'y', 15064 29: 'y', 15065 30: 'y', 15066 31: 'y', 15067 32: 'y', 15068 33: 'y', 15069 34: 'y', 15070 35: 'y', 15071 36: 'y', 15072 37: 'y', 15073 38: 'y', 15074 39: 'y', 15075 40: 'y', 15076 41: 'y', 15077 42: 'y', 15078 43: 'y', 15079 44: 'y', 15080 45: 'y', 15081 46: 'y', 15082 47: 'y', 15083 48: 'y', 15084 49: 'y', 15085 50: 'y', 15086 51: 'y', 15087 52: 'y', 15088 53: 'y', 15089 54: 'y', 15090 55: 'y', 15091 56: 'y', 15092 57: 'y', 15093 58: 'y', 15094 59: 'y', 15095 60: 'y', 15096 61: 'y', 15097 62: 'y', 15098 63: 'y', 15099 64: 'y', 15100 65: 'y', 15101 66: 'y', 15102 67: 'y', 15103 68: 'y', 15104 69: 'y', 15105 70: 'y', 15106 71: 'y', 15107 72: 'y', 15108 73: 'y', 15109 74: 'y', 15110 75: 'y', 15111 76: 'y', 15112 77: 'y', 15113 78: 'y', 15114 79: 'y', 15115 80: 'y', 15116 81: 'y', 15117 82: 'y', 15118 83: 'y', 15119 84: 'y', 15120 85: 'y', 15121 86: 'y', 15122 87: 'y', 15123 88: 'y', 15124 89: 'y', 15125 90: 'y', 15126 91: 'y', 15127 92: 'y', 15128 93: 'y', 15129 94: 'y', 15130 95: 'y', 15131 96: 'y', 15132 97: 'y', 15133 98: 'y', 15134 99: 'y', 15135 100: 'y', 15136 101: 'y', 15137 102: 'y',
15138 103: 'y', 15139 104: 'y', 15140 105: 'y', 15141 106: 'y', 15142 107: 'y', 15143 108: 'y', 15144 109: 'y', 15145 110: 'y', 15146 111: 'y', 15147 112: 'y', 15148 113: 'y', 15149 114: 'y', 15150 115: 'y', 15151 116: 'y', 15152 117: 'y', 15153 3.5: 'n', 15154 3.6: 'n', 15155 }, 15156 chrome: { 15157 4: 'n', 15158 5: 'n', 15159 6: 'n', 15160 7: 'n', 15161 8: 'n', 15162 9: 'n', 15163 10: 'n', 15164 11: 'n', 15165 12: 'n', 15166 13: 'n', 15167 14: 'n', 15168 15: 'n', 15169 16: 'n', 15170 17: 'n', 15171 18: 'n', 15172 19: 'n', 15173 20: 'n', 15174 21: 'n', 15175 22: 'n', 15176 23: 'n', 15177 24: 'n', 15178 25: 'n', 15179 26: 'n', 15180 27: 'n', 15181 28: 'y', 15182 29: 'y', 15183 30: 'y', 15184 31: 'y', 15185 32: 'y', 15186 33: 'y', 15187 34: 'y', 15188 35: 'y', 15189 36: 'y', 15190 37: 'y', 15191 38: 'y', 15192 39: 'y', 15193 40: 'y', 15194 41: 'y', 15195 42: 'y', 15196 43: 'y', 15197 44: 'y', 15198 45: 'y', 15199 46: 'y', 15200 47: 'y', 15201 48: 'y', 15202 49: 'y', 15203 50: 'y', 15204 51: 'y', 15205 52: 'y', 15206 53: 'y', 15207 54: 'y', 15208 55: 'y', 15209 56: 'y', 15210 57: 'y', 15211 58: 'y', 15212 59: 'y', 15213 60: 'y', 15214 61: 'y', 15215 62: 'y', 15216 63: 'y', 15217 64: 'y', 15218 65: 'y', 15219 66: 'y', 15220 67: 'y', 15221 68: 'y', 15222 69: 'y', 15223 70: 'y', 15224 71: 'y', 15225 72: 'y', 15226 73: 'y', 15227 74: 'y', 15228 75: 'y', 15229 76: 'y', 15230 77: 'y', 15231 78: 'y', 15232 79: 'y', 15233 80: 'y', 15234 81: 'y', 15235 83: 'y', 15236 84: 'y', 15237 85: 'y', 15238 86: 'y', 15239 87: 'y', 15240 88: 'y', 15241 89: 'y', 15242 90: 'y', 15243 91: 'y', 15244 92: 'y', 15245 93: 'y', 15246 94: 'y', 15247 95: 'y', 15248 96: 'y', 15249 97: 'y', 15250 98: 'y', 15251 99: 'y', 15252 100: 'y', 15253 101: 'y', 15254 102: 'y', 15255 103: 'y', 15256 104: 'y', 15257 105: 'y', 15258 106: 'y', 15259 107: 'y', 15260 108: 'y', 15261 109: 'y', 15262 110: 'y', 15263 111: 'y', 15264 112: 'y', 15265 113: 'y', 15266 114: 'y', 15267 115: 'y', 15268 116: 'y', 15269 117: 'y', 15270 }, 15271 safari: { 15272 4: 'n', 15273 5: 'n', 15274 6: 'n', 15275 7: 'n', 15276 8: 'n', 15277 9: 'y', 15278 10: 'y', 15279 11: 'y', 15280 12: 'y', 15281 13: 'y', 15282 14: 'y', 15283 15: 'y', 15284 17: 'y', 15285 9.1: 'y', 15286 10.1: 'y', 15287 11.1: 'y', 15288 12.1: 'y', 15289 13.1: 'y', 15290 14.1: 'y', 15291 15.1: 'y', 15292 '15.2-15.3': 'y', 15293 15.4: 'y', 15294 15.5: 'y', 15295 15.6: 'y', 15296 '16.0': 'y', 15297 16.1: 'y', 15298 16.2: 'y', 15299 16.3: 'y', 15300 16.4: 'y', 15301 16.5: 'y', 15302 16.6: 'y', 15303 TP: 'y', 15304 3.1: 'n', 15305 3.2: 'n', 15306 5.1: 'n', 15307 6.1: 'n', 15308 7.1: 'n', 15309 }, 15310 opera: { 15311 9: 'n', 15312 11: 'n', 15313 12: 'n', 15314 15: 'y', 15315 16: 'y', 15316 17: 'y', 15317 18: 'y', 15318 19: 'y', 15319 20: 'y', 15320 21: 'y', 15321 22: 'y', 15322 23: 'y', 15323 24: 'y', 15324 25: 'y', 15325 26: 'y', 15326 27: 'y', 15327 28: 'y', 15328 29: 'y', 15329 30: 'y', 15330 31: 'y', 15331 32: 'y', 15332 33: 'y', 15333 34: 'y', 15334 35: 'y', 15335 36: 'y', 15336 37: 'y', 15337 38: 'y', 15338 39: 'y', 15339 40: 'y', 15340 41: 'y', 15341 42: 'y', 15342 43: 'y', 15343 44: 'y', 15344 45: 'y', 15345 46: 'y', 15346 47: 'y', 15347 48: 'y', 15348 49: 'y', 15349 50: 'y', 15350 51: 'y', 15351 52: 'y', 15352 53: 'y', 15353 54: 'y', 15354 55: 'y', 15355 56: 'y', 15356 57: 'y', 15357 58: 'y', 15358 60: 'y', 15359 62: 'y', 15360 63: 'y', 15361 64: 'y', 15362 65: 'y', 15363 66: 'y', 15364 67: 'y', 15365 68: 'y', 15366 69: 'y', 15367 70: 'y', 15368 71: 'y', 15369 72: 'y', 15370 73: 'y', 15371 74: 'y', 15372 75: 'y', 15373 76: 'y', 15374 77: 'y', 15375 78: 'y', 15376 79: 'y', 15377 80: 'y', 15378 81: 'y', 15379 82: 'y', 15380 83: 'y', 15381 84: 'y', 15382 85: 'y', 15383 86: 'y', 15384 87: 'y', 15385 88: 'y', 15386 89: 'y', 15387 90: 'y', 15388 91: 'y', 15389 92: 'y', 15390 93: 'y', 15391 94: 'y', 15392 95: 'y', 15393 96: 'y', 15394 97: 'y', 15395 98: 'y', 15396 99: 'y', 15397 100: 'y', 15398 12.1: 'y', 15399 '9.5-9.6': 'n', 15400 '10.0-10.1': 'n', 15401 10.5: 'n', 15402 10.6: 'n', 15403 11.1: 'n', 15404 11.5: 'n', 15405 11.6: 'n', 15406 }, 15407 ios_saf: { 15408 8: 'n', 15409 17: 'y', 15410 '9.0-9.2': 'y', 15411 9.3: 'y', 15412 '10.0-10.2': 'y', 15413 10.3: 'y', 15414 '11.0-11.2': 'y', 15415 '11.3-11.4': 'y', 15416 '12.0-12.1': 'y', 15417 '12.2-12.5': 'y', 15418 '13.0-13.1': 'y', 15419 13.2: 'y', 15420 13.3: 'y', 15421 '13.4-13.7': 'y', 15422 '14.0-14.4': 'y', 15423 '14.5-14.8': 'y', 15424 '15.0-15.1': 'y', 15425 '15.2-15.3': 'y', 15426 15.4: 'y', 15427 15.5: 'y', 15428 15.6: 'y', 15429 '16.0': 'y', 15430 16.1: 'y', 15431 16.2: 'y', 15432 16.3: 'y', 15433 16.4: 'y', 15434 16.5: 'y', 15435 16.6: 'y',
15436 3.2: 'n', 15437 '4.0-4.1': 'n', 15438 '4.2-4.3': 'n', 15439 '5.0-5.1': 'n', 15440 '6.0-6.1': 'n', 15441 '7.0-7.1': 'n', 15442 '8.1-8.4': 'n', 15443 }, 15444 op_mini: { all: 'y' }, 15445 android: { 15446 3: 'n', 15447 4: 'n', 15448 114: 'y', 15449 4.4: 'y', 15450 '4.4.3-4.4.4': 'y', 15451 2.1: 'n', 15452 2.2: 'n', 15453 2.3: 'n', 15454 4.1: 'n', 15455 '4.2-4.3': 'n', 15456 }, 15457 bb: { 7: 'n', 10: 'n' }, 15458 op_mob: { 15459 10: 'n', 15460 11: 'n', 15461 12: 'n', 15462 73: 'y', 15463 11.1: 'n', 15464 11.5: 'n', 15465 12.1: 'n', 15466 }, 15467 and_chr: { 114: 'y' }, 15468 and_ff: { 115: 'y' }, 15469 ie_mob: { 10: 'n', 11: 'n' }, 15470 and_uc: { 15.5: 'y' }, 15471 samsung: { 15472 4: 'y', 15473 20: 'y', 15474 21: 'y', 15475 '5.0-5.4': 'y', 15476 '6.2-6.4': 'y', 15477 '7.2-7.4': 'y', 15478 8.2: 'y', 15479 9.2: 'y', 15480 10.1: 'y', 15481 '11.1-11.2': 'y', 15482 '12.0': 'y', 15483 '13.0': 'y', 15484 '14.0': 'y', 15485 '15.0': 'y', 15486 '16.0': 'y', 15487 '17.0': 'y', 15488 '18.0': 'y', 15489 '19.0': 'y', 15490 }, 15491 and_qq: { 13.1: 'y' }, 15492 baidu: { 13.18: 'y' }, 15493 kaios: { 2.5: 'y', '3.0-3.1': 'y' }, 15494 }, 15495 }; 15496 } 15497 var Y2, 15498 $n = C(() => { 15499 l(); 15500 Y2 = { 15501 ie: { prefix: 'ms' }, 15502 edge: { 15503 prefix: 'webkit', 15504 prefix_exceptions: { 15505 12: 'ms', 15506 13: 'ms', 15507 14: 'ms', 15508 15: 'ms', 15509 16: 'ms', 15510 17: 'ms', 15511 18: 'ms', 15512 }, 15513 }, 15514 firefox: { prefix: 'moz' }, 15515 chrome: { prefix: 'webkit' }, 15516 safari: { prefix: 'webkit' }, 15517 opera: { 15518 prefix: 'webkit', 15519 prefix_exceptions: { 15520 9: 'o', 15521 11: 'o', 15522 12: 'o', 15523 '9.5-9.6': 'o', 15524 '10.0-10.1': 'o', 15525 10.5: 'o', 15526 10.6: 'o', 15527 11.1: 'o', 15528 11.5: 'o', 15529 11.6: 'o', 15530 12.1: 'o', 15531 }, 15532 }, 15533 ios_saf: { prefix: 'webkit' }, 15534 op_mini: { prefix: 'o' }, 15535 android: { prefix: 'webkit' }, 15536 bb: { prefix: 'webkit' }, 15537 op_mob: { prefix: 'o', prefix_exceptions: { 73: 'webkit' } }, 15538 and_chr: { prefix: 'webkit' }, 15539 and_ff: { prefix: 'moz' }, 15540 ie_mob: { prefix: 'ms' }, 15541 and_uc: { prefix: 'webkit', prefix_exceptions: { 15.5: 'webkit' } }, 15542 samsung: { prefix: 'webkit' }, 15543 and_qq: { prefix: 'webkit' }, 15544 baidu: { prefix: 'webkit' }, 15545 kaios: { prefix: 'moz' }, 15546 }; 15547 }); 15548 var ym = v(() => { 15549 l(); 15550 }); 15551 var fe = v((AI, ct) => { 15552 l(); 15553 var { list: Go } = ge(); 15554 ct.exports.error = function (i) { 15555 let e = new Error(i); 15556 throw ((e.autoprefixer = !0), e); 15557 }; 15558 ct.exports.uniq = function (i) { 15559 return [...new Set(i)]; 15560 }; 15561 ct.exports.removeNote = function (i) { 15562 return i.includes(' ') ? i.split(' ')[0] : i; 15563 }; 15564 ct.exports.escapeRegexp = function (i) { 15565 return i.replace(/[$()*+-.?[\\\]^{|}]/g, '\\$&'); 15566 }; 15567 ct.exports.regexp = function (i, e = !0) { 15568 return e && (i = this.escapeRegexp(i)), new RegExp(`(^|[\\s,(])(${i}($|[\\s(,]))`, 'gi'); 15569 }; 15570 ct.exports.editList = function (i, e) { 15571 let t = Go.comma(i), 15572 r = e(t, []); 15573 if (t === r) return i; 15574 let n = i.match(/,\s*/); 15575 return (n = n ? n[0] : ', '), r.join(n); 15576 }; 15577 ct.exports.splitSelector = function (i) { 15578 return Go.comma(i).map((e) => Go.space(e).map((t) => t.split(/(?=\.|#)/g))); 15579 }; 15580 }); 15581 var pt = v((_I, vm) => { 15582 l(); 15583 var J2 = Wo(), 15584 wm = ($n(), Ln).agents, 15585 X2 = fe(), 15586 bm = class { 15587 static prefixes() { 15588 if (this.prefixesCache) return this.prefixesCache; 15589 this.prefixesCache = []; 15590 for (let e in wm) this.prefixesCache.push(`-${wm[e].prefix}-`); 15591 return ( 15592 (this.prefixesCache = X2.uniq(this.prefixesCache).sort((e, t) => t.length - e.length)), 15593 this.prefixesCache 15594 ); 15595 } 15596 static withPrefix(e) { 15597 return ( 15598 this.prefixesRegexp || (this.prefixesRegexp = new RegExp(this.prefixes().join('|'))), 15599 this.prefixesRegexp.test(e) 15600 ); 15601 } 15602 constructor(e, t, r, n) { 15603 (this.data = e), 15604 (this.options = r || {}), 15605 (this.browserslistOpts = n || {}), 15606 (this.selected = this.parse(t)); 15607 } 15608 parse(e) { 15609 let t = {}; 15610 for (let r in this.browserslistOpts) t[r] = this.browserslistOpts[r]; 15611 return (t.path = this.options.from), J2(e, t); 15612 } 15613 prefix(e) { 15614 let [t, r] = e.split(' '), 15615 n = this.data[t], 15616 a = n.prefix_exceptions && n.prefix_exceptions[r]; 15617 return a || (a = n.prefix), `-${a}-`; 15618 } 15619 isSelected(e) { 15620 return this.selected.includes(e); 15621 } 15622 }; 15623 vm.exports = bm; 15624 });
15625 var ii = v((OI, xm) => { 15626 l(); 15627 xm.exports = { 15628 prefix(i) { 15629 let e = i.match(/^(-\w+-)/); 15630 return e ? e[0] : ''; 15631 }, 15632 unprefixed(i) { 15633 return i.replace(/^-\w+-/, ''); 15634 }, 15635 }; 15636 }); 15637 var Ut = v((EI, Sm) => { 15638 l(); 15639 var K2 = pt(), 15640 km = ii(), 15641 Z2 = fe(); 15642 function Ho(i, e) { 15643 let t = new i.constructor(); 15644 for (let r of Object.keys(i || {})) { 15645 let n = i[r]; 15646 r === 'parent' && typeof n == 'object' 15647 ? e && (t[r] = e) 15648 : r === 'source' || r === null 15649 ? (t[r] = n) 15650 : Array.isArray(n) 15651 ? (t[r] = n.map((a) => Ho(a, t))) 15652 : r !== '_autoprefixerPrefix' && 15653 r !== '_autoprefixerValues' && 15654 r !== 'proxyCache' && 15655 (typeof n == 'object' && n !== null && (n = Ho(n, t)), (t[r] = n)); 15656 } 15657 return t; 15658 } 15659 var jn = class { 15660 static hack(e) { 15661 return this.hacks || (this.hacks = {}), e.names.map((t) => ((this.hacks[t] = e), this.hacks[t])); 15662 } 15663 static load(e, t, r) { 15664 let n = this.hacks && this.hacks[e]; 15665 return n ? new n(e, t, r) : new this(e, t, r); 15666 } 15667 static clone(e, t) { 15668 let r = Ho(e); 15669 for (let n in t) r[n] = t[n]; 15670 return r; 15671 } 15672 constructor(e, t, r) { 15673 (this.prefixes = t), (this.name = e), (this.all = r); 15674 } 15675 parentPrefix(e) { 15676 let t; 15677 return ( 15678 typeof e._autoprefixerPrefix != 'undefined' 15679 ? (t = e._autoprefixerPrefix) 15680 : e.type === 'decl' && e.prop[0] === '-' 15681 ? (t = km.prefix(e.prop)) 15682 : e.type === 'root' 15683 ? (t = !1) 15684 : e.type === 'rule' && e.selector.includes(':-') && /:(-\w+-)/.test(e.selector) 15685 ? (t = e.selector.match(/:(-\w+-)/)[1]) 15686 : e.type === 'atrule' && e.name[0] === '-' 15687 ? (t = km.prefix(e.name)) 15688 : (t = this.parentPrefix(e.parent)), 15689 K2.prefixes().includes(t) || (t = !1), 15690 (e._autoprefixerPrefix = t), 15691 e._autoprefixerPrefix 15692 ); 15693 } 15694 process(e, t) { 15695 if (!this.check(e)) return; 15696 let r = this.parentPrefix(e), 15697 n = this.prefixes.filter((s) => !r || r === Z2.removeNote(s)), 15698 a = []; 15699 for (let s of n) this.add(e, s, a.concat([s]), t) && a.push(s); 15700 return a; 15701 } 15702 clone(e, t) { 15703 return jn.clone(e, t); 15704 } 15705 }; 15706 Sm.exports = jn; 15707 }); 15708 var R = v((TI, _m) => { 15709 l(); 15710 var eA = Ut(), 15711 tA = pt(), 15712 Cm = fe(), 15713 Am = class extends eA { 15714 check() { 15715 return !0; 15716 } 15717 prefixed(e, t) { 15718 return t + e; 15719 } 15720 normalize(e) { 15721 return e; 15722 } 15723 otherPrefixes(e, t) { 15724 for (let r of tA.prefixes()) if (r !== t && e.includes(r)) return !0; 15725 return !1; 15726 } 15727 set(e, t) { 15728 return (e.prop = this.prefixed(e.prop, t)), e; 15729 } 15730 needCascade(e) { 15731 return ( 15732 e._autoprefixerCascade || 15733 (e._autoprefixerCascade = 15734 this.all.options.cascade !== !1 && 15735 e.raw('before').includes(` 15736`)), 15737 e._autoprefixerCascade 15738 ); 15739 } 15740 maxPrefixed(e, t) { 15741 if (t._autoprefixerMax) return t._autoprefixerMax; 15742 let r = 0; 15743 for (let n of e) (n = Cm.removeNote(n)), n.length > r && (r = n.length); 15744 return (t._autoprefixerMax = r), t._autoprefixerMax; 15745 } 15746 calcBefore(e, t, r = '') { 15747 let a = this.maxPrefixed(e, t) - Cm.removeNote(r).length, 15748 s = t.raw('before'); 15749 return a > 0 && (s += Array(a).fill(' ').join('')), s; 15750 } 15751 restoreBefore(e) { 15752 let t = e.raw('before').split(` 15753`), 15754 r = t[t.length - 1]; 15755 this.all.group(e).up((n) => { 15756 let a = n.raw('before').split(` 15757`), 15758 s = a[a.length - 1]; 15759 s.length < r.length && (r = s); 15760 }), 15761 (t[t.length - 1] = r), 15762 (e.raws.before = t.join(` 15763`)); 15764 } 15765 insert(e, t, r) { 15766 let n = this.set(this.clone(e), t); 15767 if (!(!n || e.parent.some((s) => s.prop === n.prop && s.value === n.value))) 15768 return ( 15769 this.needCascade(e) && (n.raws.before = this.calcBefore(r, e, t)), 15770 e.parent.insertBefore(e, n) 15771 ); 15772 } 15773 isAlready(e, t) { 15774 let r = this.all.group(e).up((n) => n.prop === t); 15775 return r || (r = this.all.group(e).down((n) => n.prop === t)), r; 15776 } 15777 add(e, t, r, n) { 15778 let a = this.prefixed(e.prop, t); 15779 if (!(this.isAlready(e, a) || this.otherPrefixes(e.value, t))) return this.insert(e, t, r, n); 15780 } 15781 process(e, t) { 15782 if (!this.needCascade(e)) { 15783 super.process(e, t); 15784 return; 15785 } 15786 let r = super.process(e, t); 15787 !r || !r.length || (this.restoreBefore(e), (e.raws.before = this.calcBefore(r, e))); 15788 } 15789 old(e, t) { 15790 return [this.prefixed(e, t)]; 15791 } 15792 }; 15793 _m.exports = Am; 15794 }); 15795 var Em = v((PI, Om) => { 15796 l(); 15797 Om.exports = function i(e) { 15798 return { 15799 mul: (t) => new i(e * t), 15800 div: (t) => new i(e / t), 15801 simplify: () => new i(e), 15802 toString: () => e.toString(), 15803 }; 15804 }; 15805 }); 15806 var Dm = v((DI, Pm) => { 15807 l(); 15808 var rA = Em(), 15809 iA = Ut(), 15810 Yo = fe(),
15811 nA = /(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi, 15812 sA = /(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i, 15813 Tm = class extends iA { 15814 prefixName(e, t) { 15815 return e === '-moz-' ? t + '--moz-device-pixel-ratio' : e + t + '-device-pixel-ratio'; 15816 } 15817 prefixQuery(e, t, r, n, a) { 15818 return ( 15819 (n = new rA(n)), 15820 a === 'dpi' ? (n = n.div(96)) : a === 'dpcm' && (n = n.mul(2.54).div(96)), 15821 (n = n.simplify()), 15822 e === '-o-' && (n = n.n + '/' + n.d), 15823 this.prefixName(e, t) + r + n 15824 ); 15825 } 15826 clean(e) { 15827 if (!this.bad) { 15828 this.bad = []; 15829 for (let t of this.prefixes) 15830 this.bad.push(this.prefixName(t, 'min')), this.bad.push(this.prefixName(t, 'max')); 15831 } 15832 e.params = Yo.editList(e.params, (t) => t.filter((r) => this.bad.every((n) => !r.includes(n)))); 15833 } 15834 process(e) { 15835 let t = this.parentPrefix(e), 15836 r = t ? [t] : this.prefixes; 15837 e.params = Yo.editList(e.params, (n, a) => { 15838 for (let s of n) { 15839 if (!s.includes('min-resolution') && !s.includes('max-resolution')) { 15840 a.push(s); 15841 continue; 15842 } 15843 for (let o of r) { 15844 let u = s.replace(nA, (c) => { 15845 let f = c.match(sA); 15846 return this.prefixQuery(o, f[1], f[2], f[3], f[4]); 15847 });
15848 a.push(u); 15849 } 15850 a.push(s); 15851 } 15852 return Yo.uniq(a); 15853 }); 15854 } 15855 }; 15856 Pm.exports = Tm; 15857 }); 15858 var qm = v((II, Im) => { 15859 l(); 15860 var Qo = '('.charCodeAt(0), 15861 Jo = ')'.charCodeAt(0), 15862 zn = "'".charCodeAt(0), 15863 Xo = '"'.charCodeAt(0), 15864 Ko = '\\'.charCodeAt(0), 15865 Wt = '/'.charCodeAt(0), 15866 Zo = ','.charCodeAt(0), 15867 el = ':'.charCodeAt(0), 15868 Vn = '*'.charCodeAt(0), 15869 aA = 'u'.charCodeAt(0), 15870 oA = 'U'.charCodeAt(0), 15871 lA = '+'.charCodeAt(0), 15872 uA = /^[a-f0-9?-]+$/i; 15873 Im.exports = function (i) { 15874 for ( 15875 var e = [], 15876 t = i, 15877 r, 15878 n, 15879 a, 15880 s, 15881 o, 15882 u, 15883 c, 15884 f, 15885 d = 0, 15886 p = t.charCodeAt(d), 15887 m = t.length, 15888 w = [{ nodes: e }], 15889 x = 0, 15890 y, 15891 b = '', 15892 k = '', 15893 S = ''; 15894 d < m; 15895 15896 ) 15897 if (p <= 32) { 15898 r = d; 15899 do (r += 1), (p = t.charCodeAt(r)); 15900 while (p <= 32); 15901 (s = t.slice(d, r)), 15902 (a = e[e.length - 1]), 15903 p === Jo && x 15904 ? (S = s) 15905 : a && a.type === 'div' 15906 ? ((a.after = s), (a.sourceEndIndex += s.length)) 15907 : p === Zo || 15908 p === el || 15909 (p === Wt && 15910 t.charCodeAt(r + 1) !== Vn && 15911 (!y || (y && y.type === 'function' && y.value !== 'calc'))) 15912 ? (k = s) 15913 : e.push({ 15914 type: 'space', 15915 sourceIndex: d, 15916 sourceEndIndex: r, 15917 value: s, 15918 }), 15919 (d = r); 15920 } else if (p === zn || p === Xo) { 15921 (r = d), (n = p === zn ? "'" : '"'), (s = { type: 'string', sourceIndex: d, quote: n }); 15922 do 15923 if (((o = !1), (r = t.indexOf(n, r + 1)), ~r)) 15924 for (u = r; t.charCodeAt(u - 1) === Ko; ) (u -= 1), (o = !o); 15925 else (t += n), (r = t.length - 1), (s.unclosed = !0); 15926 while (o); 15927 (s.value = t.slice(d + 1, r)), 15928 (s.sourceEndIndex = s.unclosed ? r : r + 1), 15929 e.push(s), 15930 (d = r + 1), 15931 (p = t.charCodeAt(d)); 15932 } else if (p === Wt && t.charCodeAt(d + 1) === Vn) 15933 (r = t.indexOf('*/', d)), 15934 (s = { type: 'comment', sourceIndex: d, sourceEndIndex: r + 2 }), 15935 r === -1 && ((s.unclosed = !0), (r = t.length), (s.sourceEndIndex = r)), 15936 (s.value = t.slice(d + 2, r)), 15937 e.push(s), 15938 (d = r + 2), 15939 (p = t.charCodeAt(d)); 15940 else if ((p === Wt || p === Vn) && y && y.type === 'function' && y.value === 'calc') 15941 (s = t[d]), 15942 e.push({ 15943 type: 'word', 15944 sourceIndex: d - k.length, 15945 sourceEndIndex: d + s.length, 15946 value: s, 15947 }), 15948 (d += 1), 15949 (p = t.charCodeAt(d)); 15950 else if (p === Wt || p === Zo || p === el) 15951 (s = t[d]), 15952 e.push({ 15953 type: 'div', 15954 sourceIndex: d - k.length, 15955 sourceEndIndex: d + s.length, 15956 value: s, 15957 before: k, 15958 after: '', 15959 }), 15960 (k = ''), 15961 (d += 1), 15962 (p = t.charCodeAt(d)); 15963 else if (Qo === p) { 15964 r = d; 15965 do (r += 1), (p = t.charCodeAt(r)); 15966 while (p <= 32); 15967 if ( 15968 ((f = d), 15969 (s = { 15970 type: 'function', 15971 sourceIndex: d - b.length, 15972 value: b, 15973 before: t.slice(f + 1, r), 15974 }), 15975 (d = r), 15976 b === 'url' && p !== zn && p !== Xo) 15977 ) { 15978 r -= 1; 15979 do 15980 if (((o = !1), (r = t.indexOf(')', r + 1)), ~r)) 15981 for (u = r; t.charCodeAt(u - 1) === Ko; ) (u -= 1), (o = !o); 15982 else (t += ')'), (r = t.length - 1), (s.unclosed = !0); 15983 while (o); 15984 c = r; 15985 do (c -= 1), (p = t.charCodeAt(c)); 15986 while (p <= 32); 15987 f < c 15988 ? (d !== c + 1 15989 ? (s.nodes = [ 15990 { 15991 type: 'word', 15992 sourceIndex: d, 15993 sourceEndIndex: c + 1, 15994 value: t.slice(d, c + 1), 15995 }, 15996 ]) 15997 : (s.nodes = []), 15998 s.unclosed && c + 1 !== r 15999 ? ((s.after = ''), 16000 s.nodes.push({ 16001 type: 'space', 16002 sourceIndex: c + 1, 16003 sourceEndIndex: r, 16004 value: t.slice(c + 1, r), 16005 })) 16006 : ((s.after = t.slice(c + 1, r)), (s.sourceEndIndex = r))) 16007 : ((s.after = ''), (s.nodes = [])), 16008 (d = r + 1), 16009 (s.sourceEndIndex = s.unclosed ? r : d), 16010 (p = t.charCodeAt(d)), 16011 e.push(s); 16012 } else 16013 (x += 1), 16014 (s.after = ''), 16015 (s.sourceEndIndex = d + 1), 16016 e.push(s), 16017 w.push(s), 16018 (e = s.nodes = []), 16019 (y = s); 16020 b = ''; 16021 } else if (Jo === p && x) 16022 (d += 1), 16023 (p = t.charCodeAt(d)), 16024 (y.after = S), 16025 (y.sourceEndIndex += S.length), 16026 (S = ''),
16027 (x -= 1), 16028 (w[w.length - 1].sourceEndIndex = d), 16029 w.pop(), 16030 (y = w[x]), 16031 (e = y.nodes); 16032 else { 16033 r = d; 16034 do p === Ko && (r += 1), (r += 1), (p = t.charCodeAt(r)); 16035 while ( 16036 r < m && 16037 !( 16038 p <= 32 || 16039 p === zn || 16040 p === Xo || 16041 p === Zo || 16042 p === el || 16043 p === Wt || 16044 p === Qo || 16045 (p === Vn && y && y.type === 'function' && y.value === 'calc') || 16046 (p === Wt && y.type === 'function' && y.value === 'calc') || 16047 (p === Jo && x) 16048 ) 16049 ); 16050 (s = t.slice(d, r)), 16051 Qo === p 16052 ? (b = s) 16053 : (aA === s.charCodeAt(0) || oA === s.charCodeAt(0)) && 16054 lA === s.charCodeAt(1) && 16055 uA.test(s.slice(2)) 16056 ? e.push({ 16057 type: 'unicode-range', 16058 sourceIndex: d, 16059 sourceEndIndex: r, 16060 value: s, 16061 }) 16062 : e.push({ 16063 type: 'word', 16064 sourceIndex: d, 16065 sourceEndIndex: r, 16066 value: s, 16067 }), 16068 (d = r); 16069 } 16070 for (d = w.length - 1; d; d -= 1) (w[d].unclosed = !0), (w[d].sourceEndIndex = t.length); 16071 return w[0].nodes; 16072 }; 16073 }); 16074 var Mm = v((qI, Rm) => { 16075 l(); 16076 Rm.exports = function i(e, t, r) { 16077 var n, a, s, o; 16078 for (n = 0, a = e.length; n < a; n += 1) 16079 (s = e[n]), 16080 r || (o = t(s, n, e)), 16081 o !== !1 && s.type === 'function' && Array.isArray(s.nodes) && i(s.nodes, t, r), 16082 r && t(s, n, e); 16083 }; 16084 }); 16085 var Lm = v((RI, Nm) => { 16086 l(); 16087 function Bm(i, e) { 16088 var t = i.type, 16089 r = i.value, 16090 n, 16091 a; 16092 return e && (a = e(i)) !== void 0 16093 ? a 16094 : t === 'word' || t === 'space' 16095 ? r 16096 : t === 'string' 16097 ? ((n = i.quote || ''), n + r + (i.unclosed ? '' : n)) 16098 : t === 'comment' 16099 ? '/*' + r + (i.unclosed ? '' : '*/') 16100 : t === 'div' 16101 ? (i.before || '') + r + (i.after || '') 16102 : Array.isArray(i.nodes) 16103 ? ((n = Fm(i.nodes, e)), 16104 t !== 'function' ? n : r + '(' + (i.before || '') + n + (i.after || '') + (i.unclosed ? '' : ')')) 16105 : r; 16106 } 16107 function Fm(i, e) { 16108 var t, r; 16109 if (Array.isArray(i)) { 16110 for (t = '', r = i.length - 1; ~r; r -= 1) t = Bm(i[r], e) + t; 16111 return t; 16112 } 16113 return Bm(i, e); 16114 } 16115 Nm.exports = Fm; 16116 }); 16117 var jm = v((MI, $m) => { 16118 l(); 16119 var Un = '-'.charCodeAt(0), 16120 Wn = '+'.charCodeAt(0), 16121 tl = '.'.charCodeAt(0), 16122 fA = 'e'.charCodeAt(0), 16123 cA = 'E'.charCodeAt(0); 16124 function pA(i) { 16125 var e = i.charCodeAt(0), 16126 t; 16127 if (e === Wn || e === Un) { 16128 if (((t = i.charCodeAt(1)), t >= 48 && t <= 57)) return !0; 16129 var r = i.charCodeAt(2); 16130 return t === tl && r >= 48 && r <= 57; 16131 } 16132 return e === tl ? ((t = i.charCodeAt(1)), t >= 48 && t <= 57) : e >= 48 && e <= 57; 16133 } 16134 $m.exports = function (i) { 16135 var e = 0, 16136 t = i.length, 16137 r, 16138 n, 16139 a; 16140 if (t === 0 || !pA(i)) return !1; 16141 for ( 16142 r = i.charCodeAt(e), (r === Wn || r === Un) && e++; 16143 e < t && ((r = i.charCodeAt(e)), !(r < 48 || r > 57)); 16144 16145 ) 16146 e += 1; 16147 if (((r = i.charCodeAt(e)), (n = i.charCodeAt(e + 1)), r === tl && n >= 48 && n <= 57)) 16148 for (e += 2; e < t && ((r = i.charCodeAt(e)), !(r < 48 || r > 57)); ) e += 1; 16149 if ( 16150 ((r = i.charCodeAt(e)), 16151 (n = i.charCodeAt(e + 1)), 16152 (a = i.charCodeAt(e + 2)), 16153 (r === fA || r === cA) && ((n >= 48 && n <= 57) || ((n === Wn || n === Un) && a >= 48 && a <= 57))) 16154 ) 16155 for (e += n === Wn || n === Un ? 3 : 2; e < t && ((r = i.charCodeAt(e)), !(r < 48 || r > 57)); ) e += 1; 16156 return { number: i.slice(0, e), unit: i.slice(e) }; 16157 }; 16158 }); 16159 var Gn = v((BI, Um) => { 16160 l(); 16161 var dA = qm(), 16162 zm = Mm(), 16163 Vm = Lm(); 16164 function dt(i) { 16165 return this instanceof dt ? ((this.nodes = dA(i)), this) : new dt(i); 16166 } 16167 dt.prototype.toString = function () { 16168 return Array.isArray(this.nodes) ? Vm(this.nodes) : ''; 16169 }; 16170 dt.prototype.walk = function (i, e) { 16171 return zm(this.nodes, i, e), this; 16172 }; 16173 dt.unit = jm(); 16174 dt.walk = zm; 16175 dt.stringify = Vm; 16176 Um.exports = dt; 16177 }); 16178 var Qm = v((FI, Ym) => { 16179 l(); 16180 var { list: hA } = ge(), 16181 Wm = Gn(), 16182 mA = pt(), 16183 Gm = ii(), 16184 Hm = class { 16185 constructor(e) { 16186 (this.props = ['transition', 'transition-property']), (this.prefixes = e); 16187 } 16188 add(e, t) { 16189 let r, 16190 n, 16191 a = this.prefixes.add[e.prop], 16192 s = this.ruleVendorPrefixes(e), 16193 o = s || (a && a.prefixes) || [], 16194 u = this.parse(e.value), 16195 c = u.map((m) => this.findProp(m)), 16196 f = []; 16197 if (c.some((m) => m[0] === '-')) return; 16198 for (let m of u) { 16199 if (((n = this.findProp(m)), n[0] === '-')) continue; 16200 let w = this.prefixes.add[n]; 16201 if (!(!w || !w.prefixes)) 16202 for (r of w.prefixes) { 16203 if (s && !s.some((y) => r.includes(y))) continue; 16204 let x = this.prefixes.prefixed(n, r); 16205 x !== '-ms-transform' && 16206 !c.includes(x) && 16207 (this.disabled(n, r) || f.push(this.clone(n, x, m))); 16208 } 16209 } 16210 u = u.concat(f); 16211 let d = this.stringify(u), 16212 p = this.stringify(this.cleanFromUnprefixed(u, '-webkit-')); 16213 if ( 16214 (o.includes('-webkit-') && this.cloneBefore(e, `-webkit-${e.prop}`, p), 16215 this.cloneBefore(e, e.prop, p), 16216 o.includes('-o-')) 16217 ) { 16218 let m = this.stringify(this.cleanFromUnprefixed(u, '-o-')); 16219 this.cloneBefore(e, `-o-${e.prop}`, m); 16220 } 16221 for (r of o) 16222 if (r !== '-webkit-' && r !== '-o-') { 16223 let m = this.stringify(this.cleanOtherPrefixes(u, r)); 16224 this.cloneBefore(e, r + e.prop, m); 16225 } 16226 d !== e.value && 16227 !this.already(e, e.prop, d) && 16228 (this.checkForWarning(t, e), e.cloneBefore(), (e.value = d)); 16229 } 16230 findProp(e) { 16231 let t = e[0].value; 16232 if (/^\d/.test(t)) { 16233 for (let [r, n] of e.entries()) if (r !== 0 && n.type === 'word') return n.value; 16234 } 16235 return t; 16236 } 16237 already(e, t, r) { 16238 return e.parent.some((n) => n.prop === t && n.value === r); 16239 } 16240 cloneBefore(e, t, r) { 16241 this.already(e, t, r) || e.cloneBefore({ prop: t, value: r }); 16242 } 16243 checkForWarning(e, t) { 16244 if (t.prop !== 'transition-property') return; 16245 let r = !1, 16246 n = !1; 16247 t.parent.each((a) => { 16248 if (a.type !== 'decl' || a.prop.indexOf('transition-') !== 0) return; 16249 let s = hA.comma(a.value); 16250 if (a.prop === 'transition-property') {
16251 s.forEach((o) => { 16252 let u = this.prefixes.add[o]; 16253 u && u.prefixes && u.prefixes.length > 0 && (r = !0); 16254 }); 16255 return; 16256 } 16257 return (n = n || s.length > 1), !1; 16258 }), 16259 r && 16260 n && 16261 t.warn( 16262 e, 16263 'Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*', 16264 ); 16265 } 16266 remove(e) { 16267 let t = this.parse(e.value); 16268 t = t.filter((s) => { 16269 let o = this.prefixes.remove[this.findProp(s)]; 16270 return !o || !o.remove; 16271 }); 16272 let r = this.stringify(t); 16273 if (e.value === r) return; 16274 if (t.length === 0) { 16275 e.remove(); 16276 return; 16277 } 16278 let n = e.parent.some((s) => s.prop === e.prop && s.value === r), 16279 a = e.parent.some((s) => s !== e && s.prop === e.prop && s.value.length > r.length); 16280 if (n || a) { 16281 e.remove(); 16282 return; 16283 } 16284 e.value = r; 16285 } 16286 parse(e) { 16287 let t = Wm(e), 16288 r = [], 16289 n = []; 16290 for (let a of t.nodes) n.push(a), a.type === 'div' && a.value === ',' && (r.push(n), (n = [])); 16291 return r.push(n), r.filter((a) => a.length > 0); 16292 } 16293 stringify(e) { 16294 if (e.length === 0) return ''; 16295 let t = []; 16296 for (let r of e) r[r.length - 1].type !== 'div' && r.push(this.div(e)), (t = t.concat(r)); 16297 return ( 16298 t[0].type === 'div' && (t = t.slice(1)), 16299 t[t.length - 1].type === 'div' && (t = t.slice(0, -2 + 1 || void 0)), 16300 Wm.stringify({ nodes: t }) 16301 ); 16302 } 16303 clone(e, t, r) { 16304 let n = [], 16305 a = !1; 16306 for (let s of r) 16307 !a && s.type === 'word' && s.value === e 16308 ? (n.push({ type: 'word', value: t }), (a = !0)) 16309 : n.push(s); 16310 return n; 16311 } 16312 div(e) { 16313 for (let t of e) for (let r of t) if (r.type === 'div' && r.value === ',') return r; 16314 return { type: 'div', value: ',', after: ' ' }; 16315 } 16316 cleanOtherPrefixes(e, t) { 16317 return e.filter((r) => { 16318 let n = Gm.prefix(this.findProp(r)); 16319 return n === '' || n === t; 16320 }); 16321 } 16322 cleanFromUnprefixed(e, t) { 16323 let r = e 16324 .map((a) => this.findProp(a)) 16325 .filter((a) => a.slice(0, t.length) === t) 16326 .map((a) => this.prefixes.unprefixed(a)), 16327 n = []; 16328 for (let a of e) { 16329 let s = this.findProp(a), 16330 o = Gm.prefix(s); 16331 !r.includes(s) && (o === t || o === '') && n.push(a); 16332 } 16333 return n; 16334 } 16335 disabled(e, t) { 16336 let r = ['order', 'justify-content', 'align-self', 'align-content']; 16337 if (e.includes('flex') || r.includes(e)) { 16338 if (this.prefixes.options.flexbox === !1) return !0; 16339 if (this.prefixes.options.flexbox === 'no-2009') return t.includes('2009'); 16340 } 16341 } 16342 ruleVendorPrefixes(e) { 16343 let { parent: t } = e; 16344 if (t.type !== 'rule') return !1; 16345 if (!t.selector.includes(':-')) return !1; 16346 let r = mA.prefixes().filter((n) => t.selector.includes(':' + n)); 16347 return r.length > 0 ? r : !1; 16348 } 16349 }; 16350 Ym.exports = Hm; 16351 }); 16352 var Gt = v((NI, Xm) => { 16353 l(); 16354 var gA = fe(), 16355 Jm = class { 16356 constructor(e, t, r, n) { 16357 (this.unprefixed = e), 16358 (this.prefixed = t), 16359 (this.string = r || t), 16360 (this.regexp = n || gA.regexp(t)); 16361 } 16362 check(e) { 16363 return e.includes(this.string) ? !!e.match(this.regexp) : !1; 16364 } 16365 }; 16366 Xm.exports = Jm; 16367 }); 16368 var ke = v((LI, Zm) => { 16369 l(); 16370 var yA = Ut(), 16371 wA = Gt(), 16372 bA = ii(), 16373 vA = fe(), 16374 Km = class extends yA { 16375 static save(e, t) { 16376 let r = t.prop, 16377 n = []; 16378 for (let a in t._autoprefixerValues) { 16379 let s = t._autoprefixerValues[a]; 16380 if (s === t.value) continue; 16381 let o, 16382 u = bA.prefix(r); 16383 if (u === '-pie-') continue; 16384 if (u === a) { 16385 (o = t.value = s), n.push(o); 16386 continue; 16387 } 16388 let c = e.prefixed(r, a), 16389 f = t.parent; 16390 if (!f.every((w) => w.prop !== c)) { 16391 n.push(o); 16392 continue; 16393 } 16394 let d = s.replace(/\s+/, ' '); 16395 if (f.some((w) => w.prop === t.prop && w.value.replace(/\s+/, ' ') === d)) { 16396 n.push(o); 16397 continue; 16398 } 16399 let m = this.clone(t, { value: s }); 16400 (o = t.parent.insertBefore(t, m)), n.push(o); 16401 } 16402 return n; 16403 } 16404 check(e) { 16405 let t = e.value; 16406 return t.includes(this.name) ? !!t.match(this.regexp()) : !1; 16407 } 16408 regexp() { 16409 return this.regexpCache || (this.regexpCache = vA.regexp(this.name)); 16410 } 16411 replace(e, t) { 16412 return e.replace(this.regexp(), `$1${t}$2`); 16413 } 16414 value(e) { 16415 return e.raws.value && e.raws.value.value === e.value ? e.raws.value.raw : e.value; 16416 } 16417 add(e, t) { 16418 e._autoprefixerValues || (e._autoprefixerValues = {}); 16419 let r = e._autoprefixerValues[t] || this.value(e), 16420 n; 16421 do if (((n = r), (r = this.replace(r, t)), r === !1)) return; 16422 while (r !== n); 16423 e._autoprefixerValues[t] = r; 16424 } 16425 old(e) { 16426 return new wA(this.name, e + this.name); 16427 } 16428 }; 16429 Zm.exports = Km; 16430 }); 16431 var ht = v(($I, eg) => { 16432 l(); 16433 eg.exports = {}; 16434 }); 16435 var il = v((jI, ig) => { 16436 l(); 16437 var tg = Gn(), 16438 xA = ke(), 16439 kA = ht().insertAreas, 16440 SA = /(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i, 16441 CA = /(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i, 16442 AA = /(!\s*)?autoprefixer:\s*ignore\s+next/i, 16443 _A = /(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i, 16444 OA = [ 16445 'width', 16446 'height', 16447 'min-width', 16448 'max-width', 16449 'min-height', 16450 'max-height', 16451 'inline-size', 16452 'min-inline-size', 16453 'max-inline-size', 16454 'block-size', 16455 'min-block-size', 16456 'max-block-size', 16457 ]; 16458 function rl(i) { 16459 return i.parent.some((e) => e.prop === 'grid-template' || e.prop === 'grid-template-areas'); 16460 } 16461 function EA(i) { 16462 let e = i.parent.some((r) => r.prop === 'grid-template-rows'), 16463 t = i.parent.some((r) => r.prop === 'grid-template-columns'); 16464 return e && t; 16465 } 16466 var rg = class { 16467 constructor(e) { 16468 this.prefixes = e; 16469 } 16470 add(e, t) { 16471 let r = this.prefixes.add['@resolution'], 16472 n = this.prefixes.add['@keyframes'], 16473 a = this.prefixes.add['@viewport'], 16474 s = this.prefixes.add['@supports'];
16475 e.walkAtRules((f) => { 16476 if (f.name === 'keyframes') { 16477 if (!this.disabled(f, t)) return n && n.process(f); 16478 } else if (f.name === 'viewport') { 16479 if (!this.disabled(f, t)) return a && a.process(f); 16480 } else if (f.name === 'supports') { 16481 if (this.prefixes.options.supports !== !1 && !this.disabled(f, t)) return s.process(f); 16482 } else if (f.name === 'media' && f.params.includes('-resolution') && !this.disabled(f, t)) 16483 return r && r.process(f); 16484 }), 16485 e.walkRules((f) => { 16486 if (!this.disabled(f, t)) return this.prefixes.add.selectors.map((d) => d.process(f, t)); 16487 }); 16488 function o(f) { 16489 return f.parent.nodes.some((d) => { 16490 if (d.type !== 'decl') return !1; 16491 let p = d.prop === 'display' && /(inline-)?grid/.test(d.value), 16492 m = d.prop.startsWith('grid-template'), 16493 w = /^grid-([A-z]+-)?gap/.test(d.prop); 16494 return p || m || w; 16495 }); 16496 } 16497 function u(f) { 16498 return f.parent.some((d) => d.prop === 'display' && /(inline-)?flex/.test(d.value)); 16499 } 16500 let c = 16501 this.gridStatus(e, t) && this.prefixes.add['grid-area'] && this.prefixes.add['grid-area'].prefixes; 16502 return ( 16503 e.walkDecls((f) => { 16504 if (this.disabledDecl(f, t)) return; 16505 let d = f.parent, 16506 p = f.prop, 16507 m = f.value; 16508 if (p === 'grid-row-span') { 16509 t.warn('grid-row-span is not part of final Grid Layout. Use grid-row.', { node: f }); 16510 return; 16511 } else if (p === 'grid-column-span') { 16512 t.warn('grid-column-span is not part of final Grid Layout. Use grid-column.', { node: f }); 16513 return; 16514 } else if (p === 'display' && m === 'box') { 16515 t.warn('You should write display: flex by final spec instead of display: box', { node: f }); 16516 return; 16517 } else if (p === 'text-emphasis-position') 16518 (m === 'under' || m === 'over') && 16519 t.warn( 16520 'You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.', 16521 { node: f }, 16522 ); 16523 else if (/^(align|justify|place)-(items|content)$/.test(p) && u(f)) 16524 (m === 'start' || m === 'end') && 16525 t.warn(`${m} value has mixed support, consider using flex-${m} instead`, { node: f }); 16526 else if (p === 'text-decoration-skip' && m === 'ink') 16527 t.warn( 16528 'Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed', 16529 { node: f }, 16530 ); 16531 else { 16532 if (c && this.gridStatus(f, t)) 16533 if ( 16534 (f.value === 'subgrid' && t.warn('IE does not support subgrid', { node: f }), 16535 /^(align|justify|place)-items$/.test(p) && o(f)) 16536 ) { 16537 let x = p.replace('-items', '-self'); 16538 t.warn( 16539 `IE does not support ${p} on grid containers. Try using ${x} on child elements instead: ${f.parent.selector} > * { ${x}: ${f.value} }`, 16540 { node: f }, 16541 ); 16542 } else if (/^(align|justify|place)-content$/.test(p) && o(f)) 16543 t.warn(`IE does not support ${f.prop} on grid containers`, { 16544 node: f, 16545 }); 16546 else if (p === 'display' && f.value === 'contents') { 16547 t.warn('Please do not use display: contents; if you have grid setting enabled', { 16548 node: f, 16549 }); 16550 return; 16551 } else if (f.prop === 'grid-gap') { 16552 let x = this.gridStatus(f, t); 16553 x === 'autoplace' && !EA(f) && !rl(f) 16554 ? t.warn( 16555 'grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid', 16556 { node: f }, 16557 ) 16558 : (x === !0 || x === 'no-autoplace') && 16559 !rl(f) && 16560 t.warn('grid-gap only works if grid-template(-areas) is being used', { 16561 node: f, 16562 }); 16563 } else if (p === 'grid-auto-columns') { 16564 t.warn('grid-auto-columns is not supported by IE', { 16565 node: f, 16566 }); 16567 return; 16568 } else if (p === 'grid-auto-rows') { 16569 t.warn('grid-auto-rows is not supported by IE', { node: f }); 16570 return; 16571 } else if (p === 'grid-auto-flow') { 16572 let x = d.some((b) => b.prop === 'grid-template-rows'), 16573 y = d.some((b) => b.prop === 'grid-template-columns'); 16574 rl(f) 16575 ? t.warn('grid-auto-flow is not supported by IE', { 16576 node: f, 16577 }) 16578 : m.includes('dense') 16579 ? t.warn('grid-auto-flow: dense is not supported by IE', { 16580 node: f, 16581 }) 16582 : !x && 16583 !y && 16584 t.warn( 16585 'grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule',
16586 { node: f }, 16587 ); 16588 return; 16589 } else if (m.includes('auto-fit')) { 16590 t.warn('auto-fit value is not supported by IE', { 16591 node: f, 16592 word: 'auto-fit', 16593 }); 16594 return; 16595 } else if (m.includes('auto-fill')) { 16596 t.warn('auto-fill value is not supported by IE', { 16597 node: f, 16598 word: 'auto-fill', 16599 }); 16600 return; 16601 } else 16602 p.startsWith('grid-template') && 16603 m.includes('[') && 16604 t.warn( 16605 'Autoprefixer currently does not support line names. Try using grid-template-areas instead.', 16606 { node: f, word: '[' }, 16607 ); 16608 if (m.includes('radial-gradient')) 16609 if (CA.test(f.value)) 16610 t.warn( 16611 'Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.', 16612 { node: f }, 16613 ); 16614 else { 16615 let x = tg(m); 16616 for (let y of x.nodes) 16617 if (y.type === 'function' && y.value === 'radial-gradient') 16618 for (let b of y.nodes) 16619 b.type === 'word' && 16620 (b.value === 'cover' 16621 ? t.warn( 16622 'Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.', 16623 { node: f }, 16624 ) 16625 : b.value === 'contain' && 16626 t.warn( 16627 'Gradient has outdated direction syntax. Replace `contain` to `closest-side`.', 16628 { node: f }, 16629 )); 16630 } 16631 m.includes('linear-gradient') && 16632 SA.test(m) && 16633 t.warn( 16634 'Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.', 16635 { node: f }, 16636 ); 16637 } 16638 OA.includes(f.prop) && 16639 (f.value.includes('-fill-available') || 16640 (f.value.includes('fill-available') 16641 ? t.warn('Replace fill-available to stretch, because spec had been changed', { 16642 node: f, 16643 }) 16644 : f.value.includes('fill') && 16645 tg(m).nodes.some((y) => y.type === 'word' && y.value === 'fill') && 16646 t.warn('Replace fill to stretch, because spec had been changed', { node: f }))); 16647 let w; 16648 if (f.prop === 'transition' || f.prop === 'transition-property') 16649 return this.prefixes.transition.add(f, t); 16650 if (f.prop === 'align-self') { 16651 if ( 16652 (this.displayType(f) !== 'grid' && 16653 this.prefixes.options.flexbox !== !1 && 16654 ((w = this.prefixes.add['align-self']), w && w.prefixes && w.process(f)), 16655 this.gridStatus(f, t) !== !1 && 16656 ((w = this.prefixes.add['grid-row-align']), w && w.prefixes)) 16657 ) 16658 return w.process(f, t); 16659 } else if (f.prop === 'justify-self') { 16660 if ( 16661 this.gridStatus(f, t) !== !1 && 16662 ((w = this.prefixes.add['grid-column-align']), w && w.prefixes) 16663 ) 16664 return w.process(f, t); 16665 } else if (f.prop === 'place-self') { 16666 if ( 16667 ((w = this.prefixes.add['place-self']), w && w.prefixes && this.gridStatus(f, t) !== !1) 16668 ) 16669 return w.process(f, t); 16670 } else if (((w = this.prefixes.add[f.prop]), w && w.prefixes)) return w.process(f, t); 16671 }), 16672 this.gridStatus(e, t) && kA(e, this.disabled), 16673 e.walkDecls((f) => { 16674 if (this.disabledValue(f, t)) return; 16675 let d = this.prefixes.unprefixed(f.prop), 16676 p = this.prefixes.values('add', d); 16677 if (Array.isArray(p)) for (let m of p) m.process && m.process(f, t); 16678 xA.save(this.prefixes, f); 16679 }) 16680 ); 16681 } 16682 remove(e, t) { 16683 let r = this.prefixes.remove['@resolution']; 16684 e.walkAtRules((n, a) => { 16685 this.prefixes.remove[`@${n.name}`] 16686 ? this.disabled(n, t) || n.parent.removeChild(a) 16687 : n.name === 'media' && n.params.includes('-resolution') && r && r.clean(n); 16688 }); 16689 for (let n of this.prefixes.remove.selectors) 16690 e.walkRules((a, s) => { 16691 n.check(a) && (this.disabled(a, t) || a.parent.removeChild(s)); 16692 });
16693 return e.walkDecls((n, a) => { 16694 if (this.disabled(n, t)) return; 16695 let s = n.parent, 16696 o = this.prefixes.unprefixed(n.prop); 16697 if ( 16698 ((n.prop === 'transition' || n.prop === 'transition-property') && 16699 this.prefixes.transition.remove(n), 16700 this.prefixes.remove[n.prop] && this.prefixes.remove[n.prop].remove) 16701 ) { 16702 let u = this.prefixes.group(n).down((c) => this.prefixes.normalize(c.prop) === o); 16703 if ((o === 'flex-flow' && (u = !0), n.prop === '-webkit-box-orient')) { 16704 let c = { 'flex-direction': !0, 'flex-flow': !0 }; 16705 if (!n.parent.some((f) => c[f.prop])) return; 16706 } 16707 if (u && !this.withHackValue(n)) { 16708 n.raw('before').includes(` 16709`) && this.reduceSpaces(n), 16710 s.removeChild(a); 16711 return; 16712 } 16713 } 16714 for (let u of this.prefixes.values('remove', o)) { 16715 if (!u.check || !u.check(n.value)) continue; 16716 if (((o = u.unprefixed), this.prefixes.group(n).down((f) => f.value.includes(o)))) { 16717 s.removeChild(a); 16718 return; 16719 } 16720 } 16721 }); 16722 } 16723 withHackValue(e) { 16724 return e.prop === '-webkit-background-clip' && e.value === 'text'; 16725 } 16726 disabledValue(e, t) { 16727 return (this.gridStatus(e, t) === !1 && 16728 e.type === 'decl' && 16729 e.prop === 'display' && 16730 e.value.includes('grid')) || 16731 (this.prefixes.options.flexbox === !1 && 16732 e.type === 'decl' && 16733 e.prop === 'display' && 16734 e.value.includes('flex')) || 16735 (e.type === 'decl' && e.prop === 'content') 16736 ? !0 16737 : this.disabled(e, t); 16738 } 16739 disabledDecl(e, t) { 16740 if ( 16741 this.gridStatus(e, t) === !1 && 16742 e.type === 'decl' && 16743 (e.prop.includes('grid') || e.prop === 'justify-items') 16744 ) 16745 return !0; 16746 if (this.prefixes.options.flexbox === !1 && e.type === 'decl') { 16747 let r = ['order', 'justify-content', 'align-items', 'align-content']; 16748 if (e.prop.includes('flex') || r.includes(e.prop)) return !0; 16749 } 16750 return this.disabled(e, t); 16751 } 16752 disabled(e, t) { 16753 if (!e) return !1; 16754 if (e._autoprefixerDisabled !== void 0) return e._autoprefixerDisabled; 16755 if (e.parent) { 16756 let n = e.prev(); 16757 if (n && n.type === 'comment' && AA.test(n.text)) 16758 return (e._autoprefixerDisabled = !0), (e._autoprefixerSelfDisabled = !0), !0; 16759 } 16760 let r = null; 16761 if (e.nodes) { 16762 let n; 16763 e.each((a) => { 16764 a.type === 'comment' && 16765 /(!\s*)?autoprefixer:\s*(off|on)/i.test(a.text) && 16766 (typeof n != 'undefined' 16767 ? t.warn( 16768 'Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.', 16769 { node: a }, 16770 ) 16771 : (n = /on/i.test(a.text))); 16772 }), 16773 n !== void 0 && (r = !n); 16774 } 16775 if (!e.nodes || r === null) 16776 if (e.parent) { 16777 let n = this.disabled(e.parent, t); 16778 e.parent._autoprefixerSelfDisabled === !0 ? (r = !1) : (r = n); 16779 } else r = !1; 16780 return (e._autoprefixerDisabled = r), r; 16781 } 16782 reduceSpaces(e) { 16783 let t = !1; 16784 if ((this.prefixes.group(e).up(() => ((t = !0), !0)), t)) return; 16785 let r = e.raw('before').split(` 16786`), 16787 n = r[r.length - 1].length, 16788 a = !1; 16789 this.prefixes.group(e).down((s) => { 16790 r = s.raw('before').split(` 16791`); 16792 let o = r.length - 1; 16793 r[o].length > n && 16794 (a === !1 && (a = r[o].length - n), 16795 (r[o] = r[o].slice(0, -a)), 16796 (s.raws.before = r.join(` 16797`))); 16798 }); 16799 } 16800 displayType(e) { 16801 for (let t of e.parent.nodes) 16802 if (t.prop === 'display') { 16803 if (t.value.includes('flex')) return 'flex'; 16804 if (t.value.includes('grid')) return 'grid'; 16805 } 16806 return !1; 16807 } 16808 gridStatus(e, t) { 16809 if (!e) return !1; 16810 if (e._autoprefixerGridStatus !== void 0) return e._autoprefixerGridStatus; 16811 let r = null; 16812 if (e.nodes) { 16813 let n; 16814 e.each((a) => { 16815 if (a.type === 'comment' && _A.test(a.text)) { 16816 let s = /:\s*autoplace/i.test(a.text), 16817 o = /no-autoplace/i.test(a.text); 16818 typeof n != 'undefined' 16819 ? t.warn( 16820 'Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.', 16821 { node: a }, 16822 ) 16823 : s 16824 ? (n = 'autoplace') 16825 : o 16826 ? (n = !0) 16827 : (n = /on/i.test(a.text)); 16828 } 16829 }), 16830 n !== void 0 && (r = n); 16831 } 16832 if (e.type === 'atrule' && e.name === 'supports') { 16833 let n = e.params; 16834 n.includes('grid') && n.includes('auto') && (r = !1);
16835 } 16836 if (!e.nodes || r === null) 16837 if (e.parent) { 16838 let n = this.gridStatus(e.parent, t); 16839 e.parent._autoprefixerSelfDisabled === !0 ? (r = !1) : (r = n); 16840 } else 16841 typeof this.prefixes.options.grid != 'undefined' 16842 ? (r = this.prefixes.options.grid) 16843 : typeof h.env.AUTOPREFIXER_GRID != 'undefined' 16844 ? h.env.AUTOPREFIXER_GRID === 'autoplace' 16845 ? (r = 'autoplace') 16846 : (r = !0) 16847 : (r = !1); 16848 return (e._autoprefixerGridStatus = r), r; 16849 } 16850 }; 16851 ig.exports = rg; 16852 }); 16853 var sg = v((zI, ng) => { 16854 l(); 16855 ng.exports = { 16856 A: { 16857 A: { 2: 'K E F G A B JC' }, 16858 B: { 16859 1: 'C L M H N D O P Q R S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I', 16860 }, 16861 C: { 16862 1: '2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB 0B dB 1B eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R 2B S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I uB 3B 4B', 16863 2: '0 1 KC zB J K E F G A B C L M H N D O k l LC MC', 16864 }, 16865 D: {
16866 1: '8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB 0B dB 1B eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I uB 3B 4B', 16867 2: '0 1 2 3 4 5 6 7 J K E F G A B C L M H N D O k l', 16868 }, 16869 E: { 16870 1: 'G A B C L M H D RC 6B vB wB 7B SC TC 8B 9B xB AC yB BC CC DC EC FC GC UC', 16871 2: '0 J K E F NC 5B OC PC QC', 16872 }, 16873 F: { 16874 1: '1 2 3 4 5 6 7 8 9 H N D O k l AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R 2B S T U V W X Y Z a b c d e f g h i j wB', 16875 2: 'G B C VC WC XC YC vB HC ZC', 16876 }, 16877 G: { 16878 1: 'D fC gC hC iC jC kC lC mC nC oC pC qC rC sC tC 8B 9B xB AC yB BC CC DC EC FC GC', 16879 2: 'F 5B aC IC bC cC dC eC', 16880 }, 16881 H: { 1: 'uC' }, 16882 I: { 1: 'I zC 0C', 2: 'zB J vC wC xC yC IC' }, 16883 J: { 2: 'E A' }, 16884 K: { 1: 'm', 2: 'A B C vB HC wB' }, 16885 L: { 1: 'I' }, 16886 M: { 1: 'uB' }, 16887 N: { 2: 'A B' }, 16888 O: { 1: 'xB' }, 16889 P: { 1: 'J k l 1C 2C 3C 4C 5C 6B 6C 7C 8C 9C AD yB BD CD DD' }, 16890 Q: { 1: '7B' }, 16891 R: { 1: 'ED' }, 16892 S: { 1: 'FD GD' }, 16893 }, 16894 B: 4, 16895 C: 'CSS Feature Queries', 16896 }; 16897 }); 16898 var ug = v((VI, lg) => { 16899 l(); 16900 function ag(i) { 16901 return i[i.length - 1]; 16902 } 16903 var og = { 16904 parse(i) { 16905 let e = [''], 16906 t = [e]; 16907 for (let r of i) { 16908 if (r === '(') { 16909 (e = ['']), ag(t).push(e), t.push(e); 16910 continue; 16911 } 16912 if (r === ')') { 16913 t.pop(), (e = ag(t)), e.push(''); 16914 continue; 16915 } 16916 e[e.length - 1] += r; 16917 } 16918 return t[0]; 16919 }, 16920 stringify(i) { 16921 let e = ''; 16922 for (let t of i) { 16923 if (typeof t == 'object') { 16924 e += `(${og.stringify(t)})`; 16925 continue; 16926 } 16927 e += t; 16928 } 16929 return e; 16930 }, 16931 }; 16932 lg.exports = og; 16933 }); 16934 var hg = v((UI, dg) => { 16935 l(); 16936 var TA = sg(), 16937 { feature: PA } = ($n(), Ln), 16938 { parse: DA } = ge(), 16939 IA = pt(), 16940 nl = ug(), 16941 qA = ke(), 16942 RA = fe(), 16943 fg = PA(TA), 16944 cg = []; 16945 for (let i in fg.stats) { 16946 let e = fg.stats[i]; 16947 for (let t in e) { 16948 let r = e[t]; 16949 /y/.test(r) && cg.push(i + ' ' + t); 16950 } 16951 } 16952 var pg = class { 16953 constructor(e, t) { 16954 (this.Prefixes = e), (this.all = t); 16955 } 16956 prefixer() { 16957 if (this.prefixerCache) return this.prefixerCache; 16958 let e = this.all.browsers.selected.filter((r) => cg.includes(r)), 16959 t = new IA(this.all.browsers.data, e, this.all.options); 16960 return (this.prefixerCache = new this.Prefixes(this.all.data, t, this.all.options)), this.prefixerCache; 16961 } 16962 parse(e) { 16963 let t = e.split(':'), 16964 r = t[0], 16965 n = t[1]; 16966 return n || (n = ''), [r.trim(), n.trim()]; 16967 } 16968 virtual(e) { 16969 let [t, r] = this.parse(e), 16970 n = DA('a{}').first; 16971 return n.append({ prop: t, value: r, raws: { before: '' } }), n; 16972 } 16973 prefixed(e) { 16974 let t = this.virtual(e); 16975 if (this.disabled(t.first)) return t.nodes; 16976 let r = { warn: () => null }, 16977 n = this.prefixer().add[t.first.prop]; 16978 n && n.process && n.process(t.first, r); 16979 for (let a of t.nodes) { 16980 for (let s of this.prefixer().values('add', t.first.prop)) s.process(a); 16981 qA.save(this.all, a); 16982 } 16983 return t.nodes; 16984 } 16985 isNot(e) { 16986 return typeof e == 'string' && /not\s*/i.test(e); 16987 } 16988 isOr(e) { 16989 return typeof e == 'string' && /\s*or\s*/i.test(e); 16990 } 16991 isProp(e) { 16992 return typeof e == 'object' && e.length === 1 && typeof e[0] == 'string'; 16993 } 16994 isHack(e, t) { 16995 return !new RegExp(`(\\(|\\s)${RA.escapeRegexp(t)}:`).test(e); 16996 } 16997 toRemove(e, t) { 16998 let [r, n] = this.parse(e), 16999 a = this.all.unprefixed(r), 17000 s = this.all.cleaner(); 17001 if (s.remove[r] && s.remove[r].remove && !this.isHack(t, a)) return !0; 17002 for (let o of s.values('remove', a)) if (o.check(n)) return !0; 17003 return !1; 17004 } 17005 remove(e, t) { 17006 let r = 0; 17007 for (; r < e.length; ) { 17008 if (!this.isNot(e[r - 1]) && this.isProp(e[r]) && this.isOr(e[r + 1])) { 17009 if (this.toRemove(e[r][0], t)) { 17010 e.splice(r, 2); 17011 continue; 17012 } 17013 r += 2; 17014 continue; 17015 } 17016 typeof e[r] == 'object' && (e[r] = this.remove(e[r], t)), (r += 1); 17017 } 17018 return e; 17019 } 17020 cleanBrackets(e) { 17021 return e.map((t) => 17022 typeof t != 'object' 17023 ? t 17024 : t.length === 1 && typeof t[0] == 'object' 17025 ? this.cleanBrackets(t[0]) 17026 : this.cleanBrackets(t), 17027 ); 17028 } 17029 convert(e) { 17030 let t = ['']; 17031 for (let r of e) t.push([`${r.prop}: ${r.value}`]), t.push(' or '); 17032 return (t[t.length - 1] = ''), t; 17033 } 17034 normalize(e) { 17035 if (typeof e != 'object') return e; 17036 if (((e = e.filter((t) => t !== '')), typeof e[0] == 'string')) { 17037 let t = e[0].trim(); 17038 if (t.includes(':') || t === 'selector' || t === 'not selector') return [nl.stringify(e)]; 17039 } 17040 return e.map((t) => this.normalize(t)); 17041 } 17042 add(e, t) { 17043 return e.map((r) => { 17044 if (this.isProp(r)) { 17045 let n = this.prefixed(r[0]); 17046 return n.length > 1 ? this.convert(n) : r; 17047 } 17048 return typeof r == 'object' ? this.add(r, t) : r; 17049 }); 17050 } 17051 process(e) { 17052 let t = nl.parse(e.params); 17053 (t = this.normalize(t)), 17054 (t = this.remove(t, e.params)), 17055 (t = this.add(t, e.params)), 17056 (t = this.cleanBrackets(t)), 17057 (e.params = nl.stringify(t)); 17058 } 17059 disabled(e) { 17060 if ( 17061 !this.all.options.grid && 17062 ((e.prop === 'display' && e.value.includes('grid')) || 17063 e.prop.includes('grid') || 17064 e.prop === 'justify-items') 17065 ) 17066 return !0; 17067 if (this.all.options.flexbox === !1) { 17068 if (e.prop === 'display' && e.value.includes('flex')) return !0; 17069 let t = ['order', 'justify-content', 'align-items', 'align-content']; 17070 if (e.prop.includes('flex') || t.includes(e.prop)) return !0; 17071 } 17072 return !1; 17073 } 17074 }; 17075 dg.exports = pg; 17076 }); 17077 var yg = v((WI, gg) => { 17078 l(); 17079 var mg = class { 17080 constructor(e, t) { 17081 (this.prefix = t), 17082 (this.prefixed = e.prefixed(this.prefix)), 17083 (this.regexp = e.regexp(this.prefix)), 17084 (this.prefixeds = e.possible().map((r) => [e.prefixed(r), e.regexp(r)])), 17085 (this.unprefixed = e.name), 17086 (this.nameRegexp = e.regexp()); 17087 } 17088 isHack(e) { 17089 let t = e.parent.index(e) + 1, 17090 r = e.parent.nodes; 17091 for (; t < r.length; ) { 17092 let n = r[t].selector; 17093 if (!n) return !0; 17094 if (n.includes(this.unprefixed) && n.match(this.nameRegexp)) return !1; 17095 let a = !1; 17096 for (let [s, o] of this.prefixeds)
17097 if (n.includes(s) && n.match(o)) { 17098 a = !0; 17099 break; 17100 } 17101 if (!a) return !0; 17102 t += 1; 17103 } 17104 return !0; 17105 } 17106 check(e) { 17107 return !(!e.selector.includes(this.prefixed) || !e.selector.match(this.regexp) || this.isHack(e)); 17108 } 17109 }; 17110 gg.exports = mg; 17111 }); 17112 var Ht = v((GI, bg) => { 17113 l(); 17114 var { list: MA } = ge(), 17115 BA = yg(), 17116 FA = Ut(), 17117 NA = pt(), 17118 LA = fe(), 17119 wg = class extends FA { 17120 constructor(e, t, r) { 17121 super(e, t, r); 17122 this.regexpCache = new Map(); 17123 } 17124 check(e) { 17125 return e.selector.includes(this.name) ? !!e.selector.match(this.regexp()) : !1; 17126 } 17127 prefixed(e) { 17128 return this.name.replace(/^(\W*)/, `$1${e}`); 17129 } 17130 regexp(e) { 17131 if (!this.regexpCache.has(e)) { 17132 let t = e ? this.prefixed(e) : this.name; 17133 this.regexpCache.set(e, new RegExp(`(^|[^:"'=])${LA.escapeRegexp(t)}`, 'gi')); 17134 } 17135 return this.regexpCache.get(e); 17136 } 17137 possible() { 17138 return NA.prefixes(); 17139 } 17140 prefixeds(e) { 17141 if (e._autoprefixerPrefixeds) { 17142 if (e._autoprefixerPrefixeds[this.name]) return e._autoprefixerPrefixeds; 17143 } else e._autoprefixerPrefixeds = {}; 17144 let t = {}; 17145 if (e.selector.includes(',')) { 17146 let n = MA.comma(e.selector).filter((a) => a.includes(this.name)); 17147 for (let a of this.possible()) t[a] = n.map((s) => this.replace(s, a)).join(', '); 17148 } else for (let r of this.possible()) t[r] = this.replace(e.selector, r); 17149 return (e._autoprefixerPrefixeds[this.name] = t), e._autoprefixerPrefixeds; 17150 } 17151 already(e, t, r) { 17152 let n = e.parent.index(e) - 1; 17153 for (; n >= 0; ) { 17154 let a = e.parent.nodes[n]; 17155 if (a.type !== 'rule') return !1; 17156 let s = !1; 17157 for (let o in t[this.name]) { 17158 let u = t[this.name][o]; 17159 if (a.selector === u) { 17160 if (r === o) return !0; 17161 s = !0; 17162 break; 17163 } 17164 } 17165 if (!s) return !1; 17166 n -= 1; 17167 } 17168 return !1; 17169 } 17170 replace(e, t) { 17171 return e.replace(this.regexp(), `$1${this.prefixed(t)}`); 17172 } 17173 add(e, t) { 17174 let r = this.prefixeds(e); 17175 if (this.already(e, r, t)) return; 17176 let n = this.clone(e, { selector: r[this.name][t] }); 17177 e.parent.insertBefore(e, n); 17178 } 17179 old(e) { 17180 return new BA(this, e); 17181 } 17182 }; 17183 bg.exports = wg; 17184 }); 17185 var kg = v((HI, xg) => { 17186 l(); 17187 var $A = Ut(), 17188 vg = class extends $A { 17189 add(e, t) { 17190 let r = t + e.name; 17191 if (e.parent.some((s) => s.name === r && s.params === e.params)) return; 17192 let a = this.clone(e, { name: r }); 17193 return e.parent.insertBefore(e, a); 17194 } 17195 process(e) { 17196 let t = this.parentPrefix(e); 17197 for (let r of this.prefixes) (!t || t === r) && this.add(e, r); 17198 } 17199 }; 17200 xg.exports = vg; 17201 }); 17202 var Cg = v((YI, Sg) => { 17203 l(); 17204 var jA = Ht(), 17205 sl = class extends jA { 17206 prefixed(e) { 17207 return e === '-webkit-' 17208 ? ':-webkit-full-screen' 17209 : e === '-moz-' 17210 ? ':-moz-full-screen' 17211 : `:${e}fullscreen`; 17212 } 17213 }; 17214 sl.names = [':fullscreen']; 17215 Sg.exports = sl; 17216 }); 17217 var _g = v((QI, Ag) => { 17218 l(); 17219 var zA = Ht(), 17220 al = class extends zA { 17221 possible() { 17222 return super.possible().concat(['-moz- old', '-ms- old']); 17223 } 17224 prefixed(e) { 17225 return e === '-webkit-' 17226 ? '::-webkit-input-placeholder' 17227 : e === '-ms-' 17228 ? '::-ms-input-placeholder' 17229 : e === '-ms- old' 17230 ? ':-ms-input-placeholder' 17231 : e === '-moz- old' 17232 ? ':-moz-placeholder' 17233 : `::${e}placeholder`; 17234 } 17235 }; 17236 al.names = ['::placeholder']; 17237 Ag.exports = al; 17238 }); 17239 var Eg = v((JI, Og) => { 17240 l(); 17241 var VA = Ht(), 17242 ol = class extends VA { 17243 prefixed(e) { 17244 return e === '-ms-' ? ':-ms-input-placeholder' : `:${e}placeholder-shown`; 17245 } 17246 }; 17247 ol.names = [':placeholder-shown']; 17248 Og.exports = ol; 17249 }); 17250 var Pg = v((XI, Tg) => { 17251 l(); 17252 var UA = Ht(), 17253 WA = fe(), 17254 ll = class extends UA { 17255 constructor(e, t, r) { 17256 super(e, t, r); 17257 this.prefixes && (this.prefixes = WA.uniq(this.prefixes.map((n) => '-webkit-'))); 17258 } 17259 prefixed(e) { 17260 return e === '-webkit-' ? '::-webkit-file-upload-button' : `::${e}file-selector-button`; 17261 } 17262 }; 17263 ll.names = ['::file-selector-button'];
17264 Tg.exports = ll; 17265 }); 17266 var he = v((KI, Dg) => { 17267 l(); 17268 Dg.exports = function (i) { 17269 let e; 17270 return ( 17271 i === '-webkit- 2009' || i === '-moz-' 17272 ? (e = 2009) 17273 : i === '-ms-' 17274 ? (e = 2012) 17275 : i === '-webkit-' && (e = 'final'), 17276 i === '-webkit- 2009' && (i = '-webkit-'), 17277 [e, i] 17278 ); 17279 }; 17280 }); 17281 var Mg = v((ZI, Rg) => { 17282 l(); 17283 var Ig = ge().list, 17284 qg = he(), 17285 GA = R(), 17286 Yt = class extends GA { 17287 prefixed(e, t) { 17288 let r; 17289 return ([r, t] = qg(t)), r === 2009 ? t + 'box-flex' : super.prefixed(e, t); 17290 } 17291 normalize() { 17292 return 'flex'; 17293 } 17294 set(e, t) { 17295 let r = qg(t)[0]; 17296 if (r === 2009) 17297 return ( 17298 (e.value = Ig.space(e.value)[0]), 17299 (e.value = Yt.oldValues[e.value] || e.value), 17300 super.set(e, t) 17301 ); 17302 if (r === 2012) { 17303 let n = Ig.space(e.value); 17304 n.length === 3 && n[2] === '0' && (e.value = n.slice(0, 2).concat('0px').join(' ')); 17305 } 17306 return super.set(e, t); 17307 } 17308 }; 17309 Yt.names = ['flex', 'box-flex']; 17310 Yt.oldValues = { auto: '1', none: '0' }; 17311 Rg.exports = Yt; 17312 }); 17313 var Ng = v((e4, Fg) => { 17314 l(); 17315 var Bg = he(), 17316 HA = R(), 17317 ul = class extends HA { 17318 prefixed(e, t) { 17319 let r; 17320 return ( 17321 ([r, t] = Bg(t)), 17322 r === 2009 ? t + 'box-ordinal-group' : r === 2012 ? t + 'flex-order' : super.prefixed(e, t) 17323 ); 17324 } 17325 normalize() { 17326 return 'order'; 17327 } 17328 set(e, t) { 17329 return Bg(t)[0] === 2009 && /\d/.test(e.value) 17330 ? ((e.value = (parseInt(e.value) + 1).toString()), super.set(e, t)) 17331 : super.set(e, t); 17332 } 17333 }; 17334 ul.names = ['order', 'flex-order', 'box-ordinal-group']; 17335 Fg.exports = ul; 17336 }); 17337 var $g = v((t4, Lg) => { 17338 l(); 17339 var YA = R(), 17340 fl = class extends YA { 17341 check(e) { 17342 let t = e.value; 17343 return ( 17344 !t.toLowerCase().includes('alpha(') && 17345 !t.includes('DXImageTransform.Microsoft') && 17346 !t.includes('data:image/svg+xml') 17347 ); 17348 } 17349 }; 17350 fl.names = ['filter']; 17351 Lg.exports = fl; 17352 }); 17353 var zg = v((r4, jg) => { 17354 l(); 17355 var QA = R(), 17356 cl = class extends QA { 17357 insert(e, t, r, n) { 17358 if (t !== '-ms-') return super.insert(e, t, r); 17359 let a = this.clone(e), 17360 s = e.prop.replace(/end$/, 'start'), 17361 o = t + e.prop.replace(/end$/, 'span'); 17362 if (!e.parent.some((u) => u.prop === o)) { 17363 if (((a.prop = o), e.value.includes('span'))) a.value = e.value.replace(/span\s/i, ''); 17364 else { 17365 let u; 17366 if ( 17367 (e.parent.walkDecls(s, (c) => { 17368 u = c; 17369 }), 17370 u) 17371 ) { 17372 let c = Number(e.value) - Number(u.value) + ''; 17373 a.value = c; 17374 } else e.warn(n, `Can not prefix ${e.prop} (${s} is not found)`); 17375 } 17376 e.cloneBefore(a); 17377 } 17378 } 17379 }; 17380 cl.names = ['grid-row-end', 'grid-column-end']; 17381 jg.exports = cl; 17382 }); 17383 var Ug = v((i4, Vg) => { 17384 l(); 17385 var JA = R(), 17386 pl = class extends JA { 17387 check(e) { 17388 return !e.value.split(/\s+/).some((t) => { 17389 let r = t.toLowerCase(); 17390 return r === 'reverse' || r === 'alternate-reverse'; 17391 }); 17392 } 17393 }; 17394 pl.names = ['animation', 'animation-direction']; 17395 Vg.exports = pl; 17396 }); 17397 var Gg = v((n4, Wg) => { 17398 l(); 17399 var XA = he(), 17400 KA = R(), 17401 dl = class extends KA { 17402 insert(e, t, r) { 17403 let n; 17404 if ((([n, t] = XA(t)), n !== 2009)) return super.insert(e, t, r); 17405 let a = e.value.split(/\s+/).filter((d) => d !== 'wrap' && d !== 'nowrap' && 'wrap-reverse'); 17406 if ( 17407 a.length === 0 || 17408 e.parent.some((d) => d.prop === t + 'box-orient' || d.prop === t + 'box-direction') 17409 ) 17410 return; 17411 let o = a[0], 17412 u = o.includes('row') ? 'horizontal' : 'vertical', 17413 c = o.includes('reverse') ? 'reverse' : 'normal', 17414 f = this.clone(e); 17415 return ( 17416 (f.prop = t + 'box-orient'), 17417 (f.value = u), 17418 this.needCascade(e) && (f.raws.before = this.calcBefore(r, e, t)), 17419 e.parent.insertBefore(e, f), 17420 (f = this.clone(e)), 17421 (f.prop = t + 'box-direction'), 17422 (f.value = c), 17423 this.needCascade(e) && (f.raws.before = this.calcBefore(r, e, t)), 17424 e.parent.insertBefore(e, f) 17425 ); 17426 } 17427 }; 17428 dl.names = ['flex-flow', 'box-direction', 'box-orient']; 17429 Wg.exports = dl; 17430 }); 17431 var Yg = v((s4, Hg) => { 17432 l(); 17433 var ZA = he(), 17434 e_ = R(), 17435 hl = class extends e_ { 17436 normalize() { 17437 return 'flex'; 17438 } 17439 prefixed(e, t) { 17440 let r; 17441 return ( 17442 ([r, t] = ZA(t)), 17443 r === 2009 ? t + 'box-flex' : r === 2012 ? t + 'flex-positive' : super.prefixed(e, t) 17444 ); 17445 } 17446 }; 17447 hl.names = ['flex-grow', 'flex-positive']; 17448 Hg.exports = hl; 17449 }); 17450 var Jg = v((a4, Qg) => { 17451 l(); 17452 var t_ = he(), 17453 r_ = R(), 17454 ml = class extends r_ { 17455 set(e, t) { 17456 if (t_(t)[0] !== 2009) return super.set(e, t); 17457 } 17458 }; 17459 ml.names = ['flex-wrap']; 17460 Qg.exports = ml; 17461 }); 17462 var Kg = v((o4, Xg) => { 17463 l(); 17464 var i_ = R(), 17465 Qt = ht(), 17466 gl = class extends i_ { 17467 insert(e, t, r, n) { 17468 if (t !== '-ms-') return super.insert(e, t, r); 17469 let a = Qt.parse(e), 17470 [s, o] = Qt.translate(a, 0, 2), 17471 [u, c] = Qt.translate(a, 1, 3); 17472 [ 17473 ['grid-row', s], 17474 ['grid-row-span', o], 17475 ['grid-column', u], 17476 ['grid-column-span', c], 17477 ].forEach(([f, d]) => { 17478 Qt.insertDecl(e, f, d); 17479 }), 17480 Qt.warnTemplateSelectorNotFound(e, n), 17481 Qt.warnIfGridRowColumnExists(e, n); 17482 } 17483 }; 17484 gl.names = ['grid-area']; 17485 Xg.exports = gl; 17486 }); 17487 var ey = v((l4, Zg) => { 17488 l(); 17489 var n_ = R(), 17490 ni = ht(), 17491 yl = class extends n_ { 17492 insert(e, t, r) { 17493 if (t !== '-ms-') return super.insert(e, t, r); 17494 if (e.parent.some((s) => s.prop === '-ms-grid-row-align')) return; 17495 let [[n, a]] = ni.parse(e); 17496 a 17497 ? (ni.insertDecl(e, 'grid-row-align', n), ni.insertDecl(e, 'grid-column-align', a)) 17498 : (ni.insertDecl(e, 'grid-row-align', n), ni.insertDecl(e, 'grid-column-align', n)); 17499 } 17500 }; 17501 yl.names = ['place-self']; 17502 Zg.exports = yl; 17503 }); 17504 var ry = v((u4, ty) => { 17505 l(); 17506 var s_ = R(), 17507 wl = class extends s_ { 17508 check(e) { 17509 let t = e.value; 17510 return !t.includes('/') || t.includes('span'); 17511 } 17512 normalize(e) { 17513 return e.replace('-start', ''); 17514 } 17515 prefixed(e, t) { 17516 let r = super.prefixed(e, t); 17517 return t === '-ms-' && (r = r.replace('-start', '')), r; 17518 } 17519 };
17520 wl.names = ['grid-row-start', 'grid-column-start']; 17521 ty.exports = wl; 17522 }); 17523 var sy = v((f4, ny) => { 17524 l(); 17525 var iy = he(), 17526 a_ = R(), 17527 Jt = class extends a_ { 17528 check(e) { 17529 return e.parent && !e.parent.some((t) => t.prop && t.prop.startsWith('grid-')); 17530 } 17531 prefixed(e, t) { 17532 let r; 17533 return ([r, t] = iy(t)), r === 2012 ? t + 'flex-item-align' : super.prefixed(e, t); 17534 } 17535 normalize() { 17536 return 'align-self'; 17537 } 17538 set(e, t) { 17539 let r = iy(t)[0]; 17540 if (r === 2012) return (e.value = Jt.oldValues[e.value] || e.value), super.set(e, t); 17541 if (r === 'final') return super.set(e, t); 17542 } 17543 }; 17544 Jt.names = ['align-self', 'flex-item-align']; 17545 Jt.oldValues = { 'flex-end': 'end', 'flex-start': 'start' }; 17546 ny.exports = Jt; 17547 }); 17548 var oy = v((c4, ay) => { 17549 l(); 17550 var o_ = R(), 17551 l_ = fe(), 17552 bl = class extends o_ { 17553 constructor(e, t, r) { 17554 super(e, t, r); 17555 this.prefixes && 17556 (this.prefixes = l_.uniq(this.prefixes.map((n) => (n === '-ms-' ? '-webkit-' : n)))); 17557 } 17558 }; 17559 bl.names = ['appearance']; 17560 ay.exports = bl; 17561 }); 17562 var fy = v((p4, uy) => { 17563 l(); 17564 var ly = he(), 17565 u_ = R(), 17566 vl = class extends u_ { 17567 normalize() { 17568 return 'flex-basis'; 17569 } 17570 prefixed(e, t) { 17571 let r; 17572 return ([r, t] = ly(t)), r === 2012 ? t + 'flex-preferred-size' : super.prefixed(e, t); 17573 } 17574 set(e, t) { 17575 let r; 17576 if ((([r, t] = ly(t)), r === 2012 || r === 'final')) return super.set(e, t); 17577 } 17578 }; 17579 vl.names = ['flex-basis', 'flex-preferred-size']; 17580 uy.exports = vl; 17581 }); 17582 var py = v((d4, cy) => { 17583 l(); 17584 var f_ = R(), 17585 xl = class extends f_ { 17586 normalize() { 17587 return this.name.replace('box-image', 'border'); 17588 } 17589 prefixed(e, t) { 17590 let r = super.prefixed(e, t); 17591 return t === '-webkit-' && (r = r.replace('border', 'box-image')), r; 17592 } 17593 }; 17594 xl.names = [ 17595 'mask-border', 17596 'mask-border-source', 17597 'mask-border-slice', 17598 'mask-border-width', 17599 'mask-border-outset', 17600 'mask-border-repeat', 17601 'mask-box-image', 17602 'mask-box-image-source', 17603 'mask-box-image-slice', 17604 'mask-box-image-width', 17605 'mask-box-image-outset', 17606 'mask-box-image-repeat', 17607 ]; 17608 cy.exports = xl; 17609 }); 17610 var hy = v((h4, dy) => { 17611 l(); 17612 var c_ = R(), 17613 Ne = class extends c_ { 17614 insert(e, t, r) { 17615 let n = e.prop === 'mask-composite', 17616 a; 17617 n ? (a = e.value.split(',')) : (a = e.value.match(Ne.regexp) || []), 17618 (a = a.map((c) => c.trim()).filter((c) => c)); 17619 let s = a.length, 17620 o; 17621 if ( 17622 (s && 17623 ((o = this.clone(e)), 17624 (o.value = a.map((c) => Ne.oldValues[c] || c).join(', ')), 17625 a.includes('intersect') && (o.value += ', xor'), 17626 (o.prop = t + 'mask-composite')), 17627 n) 17628 ) 17629 return s 17630 ? (this.needCascade(e) && (o.raws.before = this.calcBefore(r, e, t)), 17631 e.parent.insertBefore(e, o)) 17632 : void 0; 17633 let u = this.clone(e); 17634 return ( 17635 (u.prop = t + u.prop), 17636 s && (u.value = u.value.replace(Ne.regexp, '')), 17637 this.needCascade(e) && (u.raws.before = this.calcBefore(r, e, t)), 17638 e.parent.insertBefore(e, u), 17639 s 17640 ? (this.needCascade(e) && (o.raws.before = this.calcBefore(r, e, t)), 17641 e.parent.insertBefore(e, o)) 17642 : e 17643 ); 17644 } 17645 }; 17646 Ne.names = ['mask', 'mask-composite']; 17647 Ne.oldValues = { 17648 add: 'source-over', 17649 subtract: 'source-out', 17650 intersect: 'source-in', 17651 exclude: 'xor', 17652 }; 17653 Ne.regexp = new RegExp(`\\s+(${Object.keys(Ne.oldValues).join('|')})\\b(?!\\))\\s*(?=[,])`, 'ig'); 17654 dy.exports = Ne; 17655 }); 17656 var yy = v((m4, gy) => { 17657 l(); 17658 var my = he(), 17659 p_ = R(), 17660 Xt = class extends p_ { 17661 prefixed(e, t) { 17662 let r; 17663 return ( 17664 ([r, t] = my(t)), 17665 r === 2009 ? t + 'box-align' : r === 2012 ? t + 'flex-align' : super.prefixed(e, t) 17666 ); 17667 } 17668 normalize() { 17669 return 'align-items'; 17670 } 17671 set(e, t) { 17672 let r = my(t)[0]; 17673 return (r === 2009 || r === 2012) && (e.value = Xt.oldValues[e.value] || e.value), super.set(e, t); 17674 } 17675 }; 17676 Xt.names = ['align-items', 'flex-align', 'box-align']; 17677 Xt.oldValues = { 'flex-end': 'end', 'flex-start': 'start' }; 17678 gy.exports = Xt; 17679 }); 17680 var by = v((g4, wy) => { 17681 l(); 17682 var d_ = R(), 17683 kl = class extends d_ { 17684 set(e, t) { 17685 return t === '-ms-' && e.value === 'contain' && (e.value = 'element'), super.set(e, t); 17686 } 17687 insert(e, t, r) { 17688 if (!(e.value === 'all' && t === '-ms-')) return super.insert(e, t, r); 17689 } 17690 }; 17691 kl.names = ['user-select']; 17692 wy.exports = kl; 17693 }); 17694 var ky = v((y4, xy) => { 17695 l(); 17696 var vy = he(), 17697 h_ = R(), 17698 Sl = class extends h_ { 17699 normalize() { 17700 return 'flex-shrink'; 17701 } 17702 prefixed(e, t) { 17703 let r; 17704 return ([r, t] = vy(t)), r === 2012 ? t + 'flex-negative' : super.prefixed(e, t); 17705 } 17706 set(e, t) { 17707 let r; 17708 if ((([r, t] = vy(t)), r === 2012 || r === 'final')) return super.set(e, t); 17709 } 17710 }; 17711 Sl.names = ['flex-shrink', 'flex-negative']; 17712 xy.exports = Sl; 17713 }); 17714 var Cy = v((w4, Sy) => { 17715 l(); 17716 var m_ = R(), 17717 Cl = class extends m_ { 17718 prefixed(e, t) { 17719 return `${t}column-${e}`; 17720 } 17721 normalize(e) { 17722 return e.includes('inside') 17723 ? 'break-inside' 17724 : e.includes('before') 17725 ? 'break-before' 17726 : 'break-after'; 17727 } 17728 set(e, t) { 17729 return ( 17730 ((e.prop === 'break-inside' && e.value === 'avoid-column') || e.value === 'avoid-page') && 17731 (e.value = 'avoid'), 17732 super.set(e, t) 17733 ); 17734 } 17735 insert(e, t, r) { 17736 if (e.prop !== 'break-inside') return super.insert(e, t, r); 17737 if (!(/region/i.test(e.value) || /page/i.test(e.value))) return super.insert(e, t, r); 17738 } 17739 }; 17740 Cl.names = [ 17741 'break-inside', 17742 'page-break-inside', 17743 'column-break-inside', 17744 'break-before', 17745 'page-break-before', 17746 'column-break-before', 17747 'break-after', 17748 'page-break-after', 17749 'column-break-after', 17750 ]; 17751 Sy.exports = Cl; 17752 }); 17753 var _y = v((b4, Ay) => { 17754 l(); 17755 var g_ = R(), 17756 Al = class extends g_ { 17757 prefixed(e, t) { 17758 return t + 'print-color-adjust'; 17759 } 17760 normalize() { 17761 return 'color-adjust'; 17762 } 17763 }; 17764 Al.names = ['color-adjust', 'print-color-adjust']; 17765 Ay.exports = Al; 17766 }); 17767 var Ey = v((v4, Oy) => { 17768 l(); 17769 var y_ = R(), 17770 Kt = class extends y_ { 17771 insert(e, t, r) { 17772 if (t === '-ms-') { 17773 let n = this.set(this.clone(e), t); 17774 this.needCascade(e) && (n.raws.before = this.calcBefore(r, e, t)); 17775 let a = 'ltr'; 17776 return (
17777 e.parent.nodes.forEach((s) => { 17778 s.prop === 'direction' && (s.value === 'rtl' || s.value === 'ltr') && (a = s.value); 17779 }), 17780 (n.value = Kt.msValues[a][e.value] || e.value), 17781 e.parent.insertBefore(e, n) 17782 ); 17783 } 17784 return super.insert(e, t, r); 17785 } 17786 }; 17787 Kt.names = ['writing-mode']; 17788 Kt.msValues = { 17789 ltr: { 17790 'horizontal-tb': 'lr-tb', 17791 'vertical-rl': 'tb-rl', 17792 'vertical-lr': 'tb-lr', 17793 }, 17794 rtl: { 17795 'horizontal-tb': 'rl-tb', 17796 'vertical-rl': 'bt-rl', 17797 'vertical-lr': 'bt-lr', 17798 }, 17799 }; 17800 Oy.exports = Kt; 17801 }); 17802 var Py = v((x4, Ty) => { 17803 l(); 17804 var w_ = R(), 17805 _l = class extends w_ { 17806 set(e, t) { 17807 return (e.value = e.value.replace(/\s+fill(\s)/, '$1')), super.set(e, t); 17808 } 17809 }; 17810 _l.names = ['border-image']; 17811 Ty.exports = _l; 17812 }); 17813 var qy = v((k4, Iy) => { 17814 l(); 17815 var Dy = he(), 17816 b_ = R(), 17817 Zt = class extends b_ { 17818 prefixed(e, t) { 17819 let r; 17820 return ([r, t] = Dy(t)), r === 2012 ? t + 'flex-line-pack' : super.prefixed(e, t); 17821 } 17822 normalize() { 17823 return 'align-content'; 17824 } 17825 set(e, t) { 17826 let r = Dy(t)[0]; 17827 if (r === 2012) return (e.value = Zt.oldValues[e.value] || e.value), super.set(e, t); 17828 if (r === 'final') return super.set(e, t); 17829 } 17830 }; 17831 Zt.names = ['align-content', 'flex-line-pack']; 17832 Zt.oldValues = { 17833 'flex-end': 'end', 17834 'flex-start': 'start', 17835 'space-between': 'justify', 17836 'space-around': 'distribute', 17837 }; 17838 Iy.exports = Zt; 17839 }); 17840 var My = v((S4, Ry) => { 17841 l(); 17842 var v_ = R(), 17843 Se = class extends v_ { 17844 prefixed(e, t) { 17845 return t === '-moz-' ? t + (Se.toMozilla[e] || e) : super.prefixed(e, t); 17846 } 17847 normalize(e) { 17848 return Se.toNormal[e] || e; 17849 } 17850 }; 17851 Se.names = ['border-radius']; 17852 Se.toMozilla = {}; 17853 Se.toNormal = {}; 17854 for (let i of ['top', 'bottom']) 17855 for (let e of ['left', 'right']) { 17856 let t = `border-${i}-${e}-radius`, 17857 r = `border-radius-${i}${e}`; 17858 Se.names.push(t), Se.names.push(r), (Se.toMozilla[t] = r), (Se.toNormal[r] = t); 17859 } 17860 Ry.exports = Se; 17861 }); 17862 var Fy = v((C4, By) => { 17863 l(); 17864 var x_ = R(), 17865 Ol = class extends x_ { 17866 prefixed(e, t) { 17867 return e.includes('-start') 17868 ? t + e.replace('-block-start', '-before') 17869 : t + e.replace('-block-end', '-after'); 17870 } 17871 normalize(e) { 17872 return e.includes('-before') 17873 ? e.replace('-before', '-block-start') 17874 : e.replace('-after', '-block-end'); 17875 } 17876 }; 17877 Ol.names = [ 17878 'border-block-start', 17879 'border-block-end', 17880 'margin-block-start', 17881 'margin-block-end', 17882 'padding-block-start', 17883 'padding-block-end', 17884 'border-before', 17885 'border-after', 17886 'margin-before', 17887 'margin-after', 17888 'padding-before', 17889 'padding-after', 17890 ]; 17891 By.exports = Ol; 17892 }); 17893 var Ly = v((A4, Ny) => { 17894 l(); 17895 var k_ = R(), 17896 { parseTemplate: S_, warnMissedAreas: C_, getGridGap: A_, warnGridGap: __, inheritGridGap: O_ } = ht(), 17897 El = class extends k_ { 17898 insert(e, t, r, n) { 17899 if (t !== '-ms-') return super.insert(e, t, r); 17900 if (e.parent.some((m) => m.prop === '-ms-grid-rows')) return; 17901 let a = A_(e), 17902 s = O_(e, a), 17903 { rows: o, columns: u, areas: c } = S_({ decl: e, gap: s || a }), 17904 f = Object.keys(c).length > 0, 17905 d = Boolean(o), 17906 p = Boolean(u); 17907 return ( 17908 __({ gap: a, hasColumns: p, decl: e, result: n }), 17909 C_(c, e, n), 17910 ((d && p) || f) && e.cloneBefore({ prop: '-ms-grid-rows', value: o, raws: {} }), 17911 p && e.cloneBefore({ prop: '-ms-grid-columns', value: u, raws: {} }), 17912 e 17913 ); 17914 } 17915 }; 17916 El.names = ['grid-template']; 17917 Ny.exports = El; 17918 }); 17919 var jy = v((_4, $y) => { 17920 l(); 17921 var E_ = R(), 17922 Tl = class extends E_ { 17923 prefixed(e, t) { 17924 return t + e.replace('-inline', ''); 17925 } 17926 normalize(e) { 17927 return e.replace(/(margin|padding|border)-(start|end)/, '$1-inline-$2'); 17928 } 17929 }; 17930 Tl.names = [ 17931 'border-inline-start', 17932 'border-inline-end', 17933 'margin-inline-start', 17934 'margin-inline-end', 17935 'padding-inline-start', 17936 'padding-inline-end', 17937 'border-start', 17938 'border-end', 17939 'margin-start', 17940 'margin-end', 17941 'padding-start', 17942 'padding-end', 17943 ]; 17944 $y.exports = Tl; 17945 }); 17946 var Vy = v((O4, zy) => { 17947 l(); 17948 var T_ = R(), 17949 Pl = class extends T_ { 17950 check(e) { 17951 return !e.value.includes('flex-') && e.value !== 'baseline'; 17952 } 17953 prefixed(e, t) { 17954 return t + 'grid-row-align'; 17955 } 17956 normalize() { 17957 return 'align-self'; 17958 } 17959 }; 17960 Pl.names = ['grid-row-align']; 17961 zy.exports = Pl; 17962 }); 17963 var Wy = v((E4, Uy) => { 17964 l(); 17965 var P_ = R(), 17966 er = class extends P_ { 17967 keyframeParents(e) { 17968 let { parent: t } = e; 17969 for (; t; ) { 17970 if (t.type === 'atrule' && t.name === 'keyframes') return !0; 17971 ({ parent: t } = t); 17972 } 17973 return !1; 17974 } 17975 contain3d(e) { 17976 if (e.prop === 'transform-origin') return !1; 17977 for (let t of er.functions3d) if (e.value.includes(`${t}(`)) return !0; 17978 return !1; 17979 } 17980 set(e, t) { 17981 return (e = super.set(e, t)), t === '-ms-' && (e.value = e.value.replace(/rotatez/gi, 'rotate')), e; 17982 } 17983 insert(e, t, r) { 17984 if (t === '-ms-') { 17985 if (!this.contain3d(e) && !this.keyframeParents(e)) return super.insert(e, t, r); 17986 } else if (t === '-o-') { 17987 if (!this.contain3d(e)) return super.insert(e, t, r); 17988 } else return super.insert(e, t, r); 17989 } 17990 }; 17991 er.names = ['transform', 'transform-origin']; 17992 er.functions3d = [ 17993 'matrix3d', 17994 'translate3d', 17995 'translateZ', 17996 'scale3d', 17997 'scaleZ', 17998 'rotate3d', 17999 'rotateX', 18000 'rotateY', 18001 'perspective', 18002 ]; 18003 Uy.exports = er; 18004 }); 18005 var Yy = v((T4, Hy) => { 18006 l(); 18007 var Gy = he(), 18008 D_ = R(), 18009 Dl = class extends D_ { 18010 normalize() { 18011 return 'flex-direction'; 18012 } 18013 insert(e, t, r) { 18014 let n; 18015 if ((([n, t] = Gy(t)), n !== 2009)) return super.insert(e, t, r); 18016 if (e.parent.some((f) => f.prop === t + 'box-orient' || f.prop === t + 'box-direction')) return; 18017 let s = e.value, 18018 o, 18019 u; 18020 s === 'inherit' || s === 'initial' || s === 'unset' 18021 ? ((o = s), (u = s)) 18022 : ((o = s.includes('row') ? 'horizontal' : 'vertical'), 18023 (u = s.includes('reverse') ? 'reverse' : 'normal'));
18024 let c = this.clone(e); 18025 return ( 18026 (c.prop = t + 'box-orient'), 18027 (c.value = o), 18028 this.needCascade(e) && (c.raws.before = this.calcBefore(r, e, t)), 18029 e.parent.insertBefore(e, c), 18030 (c = this.clone(e)), 18031 (c.prop = t + 'box-direction'), 18032 (c.value = u), 18033 this.needCascade(e) && (c.raws.before = this.calcBefore(r, e, t)), 18034 e.parent.insertBefore(e, c) 18035 ); 18036 } 18037 old(e, t) { 18038 let r; 18039 return ([r, t] = Gy(t)), r === 2009 ? [t + 'box-orient', t + 'box-direction'] : super.old(e, t); 18040 } 18041 }; 18042 Dl.names = ['flex-direction', 'box-direction', 'box-orient']; 18043 Hy.exports = Dl; 18044 }); 18045 var Jy = v((P4, Qy) => { 18046 l(); 18047 var I_ = R(), 18048 Il = class extends I_ { 18049 check(e) { 18050 return e.value === 'pixelated'; 18051 } 18052 prefixed(e, t) { 18053 return t === '-ms-' ? '-ms-interpolation-mode' : super.prefixed(e, t); 18054 } 18055 set(e, t) { 18056 return t !== '-ms-' 18057 ? super.set(e, t) 18058 : ((e.prop = '-ms-interpolation-mode'), (e.value = 'nearest-neighbor'), e); 18059 } 18060 normalize() { 18061 return 'image-rendering'; 18062 } 18063 process(e, t) { 18064 return super.process(e, t); 18065 } 18066 }; 18067 Il.names = ['image-rendering', 'interpolation-mode']; 18068 Qy.exports = Il; 18069 }); 18070 var Ky = v((D4, Xy) => { 18071 l(); 18072 var q_ = R(), 18073 R_ = fe(), 18074 ql = class extends q_ { 18075 constructor(e, t, r) { 18076 super(e, t, r); 18077 this.prefixes && 18078 (this.prefixes = R_.uniq(this.prefixes.map((n) => (n === '-ms-' ? '-webkit-' : n)))); 18079 } 18080 }; 18081 ql.names = ['backdrop-filter']; 18082 Xy.exports = ql; 18083 }); 18084 var ew = v((I4, Zy) => { 18085 l(); 18086 var M_ = R(), 18087 B_ = fe(), 18088 Rl = class extends M_ { 18089 constructor(e, t, r) { 18090 super(e, t, r); 18091 this.prefixes && 18092 (this.prefixes = B_.uniq(this.prefixes.map((n) => (n === '-ms-' ? '-webkit-' : n)))); 18093 } 18094 check(e) { 18095 return e.value.toLowerCase() === 'text'; 18096 } 18097 }; 18098 Rl.names = ['background-clip']; 18099 Zy.exports = Rl; 18100 }); 18101 var rw = v((q4, tw) => { 18102 l(); 18103 var F_ = R(), 18104 N_ = ['none', 'underline', 'overline', 'line-through', 'blink', 'inherit', 'initial', 'unset'], 18105 Ml = class extends F_ { 18106 check(e) { 18107 return e.value.split(/\s+/).some((t) => !N_.includes(t)); 18108 } 18109 }; 18110 Ml.names = ['text-decoration']; 18111 tw.exports = Ml; 18112 }); 18113 var sw = v((R4, nw) => { 18114 l(); 18115 var iw = he(), 18116 L_ = R(), 18117 tr = class extends L_ { 18118 prefixed(e, t) { 18119 let r; 18120 return ( 18121 ([r, t] = iw(t)), 18122 r === 2009 ? t + 'box-pack' : r === 2012 ? t + 'flex-pack' : super.prefixed(e, t) 18123 ); 18124 } 18125 normalize() { 18126 return 'justify-content'; 18127 } 18128 set(e, t) { 18129 let r = iw(t)[0]; 18130 if (r === 2009 || r === 2012) { 18131 let n = tr.oldValues[e.value] || e.value; 18132 if (((e.value = n), r !== 2009 || n !== 'distribute')) return super.set(e, t); 18133 } else if (r === 'final') return super.set(e, t); 18134 } 18135 }; 18136 tr.names = ['justify-content', 'flex-pack', 'box-pack']; 18137 tr.oldValues = { 18138 'flex-end': 'end', 18139 'flex-start': 'start', 18140 'space-between': 'justify', 18141 'space-around': 'distribute', 18142 }; 18143 nw.exports = tr; 18144 }); 18145 var ow = v((M4, aw) => { 18146 l(); 18147 var $_ = R(), 18148 Bl = class extends $_ { 18149 set(e, t) { 18150 let r = e.value.toLowerCase(); 18151 return ( 18152 t === '-webkit-' && 18153 !r.includes(' ') && 18154 r !== 'contain' && 18155 r !== 'cover' && 18156 (e.value = e.value + ' ' + e.value), 18157 super.set(e, t) 18158 ); 18159 } 18160 }; 18161 Bl.names = ['background-size']; 18162 aw.exports = Bl; 18163 }); 18164 var uw = v((B4, lw) => { 18165 l(); 18166 var j_ = R(), 18167 Fl = ht(), 18168 Nl = class extends j_ { 18169 insert(e, t, r) { 18170 if (t !== '-ms-') return super.insert(e, t, r); 18171 let n = Fl.parse(e), 18172 [a, s] = Fl.translate(n, 0, 1); 18173 n[0] && n[0].includes('span') && (s = n[0].join('').replace(/\D/g, '')), 18174 [ 18175 [e.prop, a], 18176 [`${e.prop}-span`, s], 18177 ].forEach(([u, c]) => { 18178 Fl.insertDecl(e, u, c); 18179 }); 18180 } 18181 }; 18182 Nl.names = ['grid-row', 'grid-column']; 18183 lw.exports = Nl; 18184 });
18185 var pw = v((F4, cw) => { 18186 l(); 18187 var z_ = R(), 18188 { 18189 prefixTrackProp: fw, 18190 prefixTrackValue: V_, 18191 autoplaceGridItems: U_, 18192 getGridGap: W_, 18193 inheritGridGap: G_, 18194 } = ht(), 18195 H_ = il(), 18196 Ll = class extends z_ { 18197 prefixed(e, t) { 18198 return t === '-ms-' ? fw({ prop: e, prefix: t }) : super.prefixed(e, t); 18199 } 18200 normalize(e) { 18201 return e.replace(/^grid-(rows|columns)/, 'grid-template-$1'); 18202 } 18203 insert(e, t, r, n) { 18204 if (t !== '-ms-') return super.insert(e, t, r); 18205 let { parent: a, prop: s, value: o } = e, 18206 u = s.includes('rows'), 18207 c = s.includes('columns'), 18208 f = a.some((k) => k.prop === 'grid-template' || k.prop === 'grid-template-areas'); 18209 if (f && u) return !1; 18210 let d = new H_({ options: {} }), 18211 p = d.gridStatus(a, n), 18212 m = W_(e); 18213 m = G_(e, m) || m; 18214 let w = u ? m.row : m.column; 18215 (p === 'no-autoplace' || p === !0) && !f && (w = null); 18216 let x = V_({ value: o, gap: w }); 18217 e.cloneBefore({ prop: fw({ prop: s, prefix: t }), value: x }); 18218 let y = a.nodes.find((k) => k.prop === 'grid-auto-flow'), 18219 b = 'row'; 18220 if ((y && !d.disabled(y, n) && (b = y.value.trim()), p === 'autoplace')) { 18221 let k = a.nodes.find((_) => _.prop === 'grid-template-rows'); 18222 if (!k && f) return; 18223 if (!k && !f) { 18224 e.warn(n, 'Autoplacement does not work without grid-template-rows property'); 18225 return; 18226 } 18227 !a.nodes.find((_) => _.prop === 'grid-template-columns') && 18228 !f && 18229 e.warn(n, 'Autoplacement does not work without grid-template-columns property'), 18230 c && !f && U_(e, n, m, b); 18231 } 18232 } 18233 }; 18234 Ll.names = ['grid-template-rows', 'grid-template-columns', 'grid-rows', 'grid-columns']; 18235 cw.exports = Ll; 18236 }); 18237 var hw = v((N4, dw) => { 18238 l(); 18239 var Y_ = R(), 18240 $l = class extends Y_ { 18241 check(e) { 18242 return !e.value.includes('flex-') && e.value !== 'baseline'; 18243 } 18244 prefixed(e, t) { 18245 return t + 'grid-column-align'; 18246 } 18247 normalize() { 18248 return 'justify-self'; 18249 } 18250 }; 18251 $l.names = ['grid-column-align']; 18252 dw.exports = $l; 18253 }); 18254 var gw = v((L4, mw) => { 18255 l(); 18256 var Q_ = R(), 18257 jl = class extends Q_ { 18258 prefixed(e, t) { 18259 return t + 'scroll-chaining'; 18260 } 18261 normalize() { 18262 return 'overscroll-behavior'; 18263 } 18264 set(e, t) { 18265 return ( 18266 e.value === 'auto' 18267 ? (e.value = 'chained') 18268 : (e.value === 'none' || e.value === 'contain') && (e.value = 'none'), 18269 super.set(e, t) 18270 ); 18271 } 18272 }; 18273 jl.names = ['overscroll-behavior', 'scroll-chaining']; 18274 mw.exports = jl; 18275 }); 18276 var bw = v(($4, ww) => { 18277 l(); 18278 var J_ = R(), 18279 { 18280 parseGridAreas: X_, 18281 warnMissedAreas: K_, 18282 prefixTrackProp: Z_, 18283 prefixTrackValue: yw, 18284 getGridGap: e5, 18285 warnGridGap: t5, 18286 inheritGridGap: r5, 18287 } = ht(); 18288 function i5(i) { 18289 return i 18290 .trim() 18291 .slice(1, -1) 18292 .split(/["']\s*["']?/g); 18293 } 18294 var zl = class extends J_ { 18295 insert(e, t, r, n) { 18296 if (t !== '-ms-') return super.insert(e, t, r); 18297 let a = !1, 18298 s = !1, 18299 o = e.parent, 18300 u = e5(e); 18301 (u = r5(e, u) || u), 18302 o.walkDecls(/-ms-grid-rows/, (d) => d.remove()), 18303 o.walkDecls(/grid-template-(rows|columns)/, (d) => { 18304 if (d.prop === 'grid-template-rows') { 18305 s = !0; 18306 let { prop: p, value: m } = d; 18307 d.cloneBefore({ 18308 prop: Z_({ prop: p, prefix: t }), 18309 value: yw({ value: m, gap: u.row }), 18310 }); 18311 } else a = !0; 18312 }); 18313 let c = i5(e.value); 18314 a && 18315 !s && 18316 u.row && 18317 c.length > 1 && 18318 e.cloneBefore({ 18319 prop: '-ms-grid-rows', 18320 value: yw({ value: `repeat(${c.length}, auto)`, gap: u.row }), 18321 raws: {}, 18322 }), 18323 t5({ gap: u, hasColumns: a, decl: e, result: n }); 18324 let f = X_({ rows: c, gap: u }); 18325 return K_(f, e, n), e; 18326 } 18327 }; 18328 zl.names = ['grid-template-areas']; 18329 ww.exports = zl; 18330 }); 18331 var xw = v((j4, vw) => { 18332 l(); 18333 var n5 = R(), 18334 Vl = class extends n5 { 18335 set(e, t) { 18336 return t === '-webkit-' && (e.value = e.value.replace(/\s*(right|left)\s*/i, '')), super.set(e, t); 18337 } 18338 }; 18339 Vl.names = ['text-emphasis-position']; 18340 vw.exports = Vl; 18341 }); 18342 var Sw = v((z4, kw) => { 18343 l(); 18344 var s5 = R(), 18345 Ul = class extends s5 { 18346 set(e, t) { 18347 return e.prop === 'text-decoration-skip-ink' && e.value === 'auto' 18348 ? ((e.prop = t + 'text-decoration-skip'), (e.value = 'ink'), e) 18349 : super.set(e, t); 18350 } 18351 }; 18352 Ul.names = ['text-decoration-skip-ink', 'text-decoration-skip']; 18353 kw.exports = Ul; 18354 }); 18355 var Tw = v((V4, Ew) => { 18356 l(); 18357 ('use strict'); 18358 Ew.exports = { 18359 wrap: Cw, 18360 limit: Aw, 18361 validate: _w, 18362 test: Wl, 18363 curry: a5, 18364 name: Ow, 18365 }; 18366 function Cw(i, e, t) { 18367 var r = e - i; 18368 return ((((t - i) % r) + r) % r) + i; 18369 } 18370 function Aw(i, e, t) { 18371 return Math.max(i, Math.min(e, t)); 18372 } 18373 function _w(i, e, t, r, n) { 18374 if (!Wl(i, e, t, r, n)) throw new Error(t + ' is outside of range [' + i + ',' + e + ')'); 18375 return t; 18376 } 18377 function Wl(i, e, t, r, n) { 18378 return !(t < i || t > e || (n && t === e) || (r && t === i)); 18379 } 18380 function Ow(i, e, t, r) { 18381 return (t ? '(' : '[') + i + ',' + e + (r ? ')' : ']'); 18382 } 18383 function a5(i, e, t, r) { 18384 var n = Ow.bind(null, i, e, t, r); 18385 return { 18386 wrap: Cw.bind(null, i, e), 18387 limit: Aw.bind(null, i, e), 18388 validate: function (a) { 18389 return _w(i, e, a, t, r); 18390 }, 18391 test: function (a) { 18392 return Wl(i, e, a, t, r); 18393 }, 18394 toString: n, 18395 name: n, 18396 }; 18397 } 18398 }); 18399 var Iw = v((U4, Dw) => { 18400 l(); 18401 var Gl = Gn(), 18402 o5 = Tw(), 18403 l5 = Gt(), 18404 u5 = ke(), 18405 f5 = fe(), 18406 Pw = /top|left|right|bottom/gi, 18407 Qe = class extends u5 { 18408 replace(e, t) { 18409 let r = Gl(e); 18410 for (let n of r.nodes) 18411 if (n.type === 'function' && n.value === this.name) 18412 if ( 18413 ((n.nodes = this.newDirection(n.nodes)), 18414 (n.nodes = this.normalize(n.nodes)), 18415 t === '-webkit- old') 18416 ) { 18417 if (!this.oldWebkit(n)) return !1; 18418 } else (n.nodes = this.convertDirection(n.nodes)), (n.value = t + n.value); 18419 return r.toString(); 18420 } 18421 replaceFirst(e, ...t) { 18422 return t 18423 .map((n) => (n === ' ' ? { type: 'space', value: n } : { type: 'word', value: n })) 18424 .concat(e.slice(1)); 18425 } 18426 normalizeUnit(e, t) { 18427 return `${(parseFloat(e) / t) * 360}deg`; 18428 } 18429 normalize(e) { 18430 if (!e[0]) return e; 18431 if (/-?\d+(.\d+)?grad/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 400); 18432 else if (/-?\d+(.\d+)?rad/.test(e[0].value)) 18433 e[0].value = this.normalizeUnit(e[0].value, 2 * Math.PI); 18434 else if (/-?\d+(.\d+)?turn/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 1); 18435 else if (e[0].value.includes('deg')) { 18436 let t = parseFloat(e[0].value); 18437 (t = o5.wrap(0, 360, t)), (e[0].value = `${t}deg`); 18438 } 18439 return ( 18440 e[0].value === '0deg' 18441 ? (e = this.replaceFirst(e, 'to', ' ', 'top')) 18442 : e[0].value === '90deg' 18443 ? (e = this.replaceFirst(e, 'to', ' ', 'right')) 18444 : e[0].value === '180deg' 18445 ? (e = this.replaceFirst(e, 'to', ' ', 'bottom')) 18446 : e[0].value === '270deg' && (e = this.replaceFirst(e, 'to', ' ', 'left')), 18447 e 18448 ); 18449 } 18450 newDirection(e) { 18451 if (e[0].value === 'to' || ((Pw.lastIndex = 0), !Pw.test(e[0].value))) return e; 18452 e.unshift({ type: 'word', value: 'to' }, { type: 'space', value: ' ' }); 18453 for (let t = 2; t < e.length && e[t].type !== 'div'; t++) 18454 e[t].type === 'word' && (e[t].value = this.revertDirection(e[t].value)); 18455 return e; 18456 } 18457 isRadial(e) { 18458 let t = 'before'; 18459 for (let r of e) 18460 if (t === 'before' && r.type === 'space') t = 'at'; 18461 else if (t === 'at' && r.value === 'at') t = 'after'; 18462 else { 18463 if (t === 'after' && r.type === 'space') return !0; 18464 if (r.type === 'div') break; 18465 t = 'before'; 18466 } 18467 return !1; 18468 } 18469 convertDirection(e) { 18470 return ( 18471 e.length > 0 && 18472 (e[0].value === 'to' 18473 ? this.fixDirection(e) 18474 : e[0].value.includes('deg') 18475 ? this.fixAngle(e) 18476 : this.isRadial(e) && this.fixRadial(e)), 18477 e 18478 ); 18479 } 18480 fixDirection(e) { 18481 e.splice(0, 2); 18482 for (let t of e) { 18483 if (t.type === 'div') break; 18484 t.type === 'word' && (t.value = this.revertDirection(t.value)); 18485 } 18486 } 18487 fixAngle(e) { 18488 let t = e[0].value; 18489 (t = parseFloat(t)), 18490 (t = Math.abs(450 - t) % 360), 18491 (t = this.roundFloat(t, 3)), 18492 (e[0].value = `${t}deg`); 18493 } 18494 fixRadial(e) { 18495 let t = [], 18496 r = [], 18497 n, 18498 a, 18499 s, 18500 o, 18501 u; 18502 for (o = 0; o < e.length - 2; o++) 18503 if ( 18504 ((n = e[o]), 18505 (a = e[o + 1]), 18506 (s = e[o + 2]), 18507 n.type === 'space' && a.value === 'at' && s.type === 'space') 18508 ) { 18509 u = o + 3; 18510 break; 18511 } else t.push(n);
18512 let c; 18513 for (o = u; o < e.length; o++) 18514 if (e[o].type === 'div') { 18515 c = e[o]; 18516 break; 18517 } else r.push(e[o]); 18518 e.splice(0, o, ...r, c, ...t); 18519 } 18520 revertDirection(e) { 18521 return Qe.directions[e.toLowerCase()] || e; 18522 } 18523 roundFloat(e, t) { 18524 return parseFloat(e.toFixed(t)); 18525 } 18526 oldWebkit(e) { 18527 let { nodes: t } = e, 18528 r = Gl.stringify(e.nodes); 18529 if ( 18530 this.name !== 'linear-gradient' || 18531 (t[0] && t[0].value.includes('deg')) || 18532 r.includes('px') || 18533 r.includes('-corner') || 18534 r.includes('-side') 18535 ) 18536 return !1; 18537 let n = [[]]; 18538 for (let a of t) n[n.length - 1].push(a), a.type === 'div' && a.value === ',' && n.push([]); 18539 this.oldDirection(n), this.colorStops(n), (e.nodes = []); 18540 for (let a of n) e.nodes = e.nodes.concat(a); 18541 return ( 18542 e.nodes.unshift({ type: 'word', value: 'linear' }, this.cloneDiv(e.nodes)), 18543 (e.value = '-webkit-gradient'), 18544 !0 18545 ); 18546 } 18547 oldDirection(e) { 18548 let t = this.cloneDiv(e[0]); 18549 if (e[0][0].value !== 'to') return e.unshift([{ type: 'word', value: Qe.oldDirections.bottom }, t]); 18550 { 18551 let r = []; 18552 for (let a of e[0].slice(2)) a.type === 'word' && r.push(a.value.toLowerCase()); 18553 r = r.join(' '); 18554 let n = Qe.oldDirections[r] || r; 18555 return (e[0] = [{ type: 'word', value: n }, t]), e[0]; 18556 } 18557 } 18558 cloneDiv(e) { 18559 for (let t of e) if (t.type === 'div' && t.value === ',') return t; 18560 return { type: 'div', value: ',', after: ' ' }; 18561 } 18562 colorStops(e) { 18563 let t = []; 18564 for (let r = 0; r < e.length; r++) { 18565 let n, 18566 a = e[r], 18567 s; 18568 if (r === 0) continue; 18569 let o = Gl.stringify(a[0]); 18570 a[1] && a[1].type === 'word' 18571 ? (n = a[1].value) 18572 : a[2] && a[2].type === 'word' && (n = a[2].value); 18573 let u; 18574 r === 1 && (!n || n === '0%') 18575 ? (u = `from(${o})`) 18576 : r === e.length - 1 && (!n || n === '100%') 18577 ? (u = `to(${o})`) 18578 : n 18579 ? (u = `color-stop(${n}, ${o})`) 18580 : (u = `color-stop(${o})`); 18581 let c = a[a.length - 1]; 18582 (e[r] = [{ type: 'word', value: u }]), 18583 c.type === 'div' && c.value === ',' && (s = e[r].push(c)), 18584 t.push(s); 18585 } 18586 return t; 18587 } 18588 old(e) { 18589 if (e === '-webkit-') { 18590 let t = this.name === 'linear-gradient' ? 'linear' : 'radial', 18591 r = '-gradient', 18592 n = f5.regexp(`-webkit-(${t}-gradient|gradient\\(\\s*${t})`, !1); 18593 return new l5(this.name, e + this.name, r, n); 18594 } else return super.old(e); 18595 } 18596 add(e, t) { 18597 let r = e.prop; 18598 if (r.includes('mask')) { 18599 if (t === '-webkit-' || t === '-webkit- old') return super.add(e, t); 18600 } else if (r === 'list-style' || r === 'list-style-image' || r === 'content') { 18601 if (t === '-webkit-' || t === '-webkit- old') return super.add(e, t); 18602 } else return super.add(e, t); 18603 } 18604 }; 18605 Qe.names = ['linear-gradient', 'repeating-linear-gradient', 'radial-gradient', 'repeating-radial-gradient']; 18606 Qe.directions = { 18607 top: 'bottom', 18608 left: 'right', 18609 bottom: 'top', 18610 right: 'left', 18611 }; 18612 Qe.oldDirections = { 18613 top: 'left bottom, left top', 18614 left: 'right top, left top', 18615 bottom: 'left top, left bottom', 18616 right: 'left top, right top', 18617 'top right': 'left bottom, right top', 18618 'top left': 'right bottom, left top', 18619 'right top': 'left bottom, right top', 18620 'right bottom': 'left top, right bottom', 18621 'bottom right': 'left top, right bottom', 18622 'bottom left': 'right top, left bottom', 18623 'left top': 'right bottom, left top', 18624 'left bottom': 'right top, left bottom', 18625 }; 18626 Dw.exports = Qe; 18627 }); 18628 var Mw = v((W4, Rw) => { 18629 l(); 18630 var c5 = Gt(), 18631 p5 = ke(); 18632 function qw(i) { 18633 return new RegExp(`(^|[\\s,(])(${i}($|[\\s),]))`, 'gi'); 18634 } 18635 var Hl = class extends p5 { 18636 regexp() { 18637 return this.regexpCache || (this.regexpCache = qw(this.name)), this.regexpCache; 18638 } 18639 isStretch() { 18640 return this.name === 'stretch' || this.name === 'fill' || this.name === 'fill-available'; 18641 } 18642 replace(e, t) { 18643 return t === '-moz-' && this.isStretch() 18644 ? e.replace(this.regexp(), '$1-moz-available$3') 18645 : t === '-webkit-' && this.isStretch() 18646 ? e.replace(this.regexp(), '$1-webkit-fill-available$3') 18647 : super.replace(e, t); 18648 } 18649 old(e) { 18650 let t = e + this.name; 18651 return ( 18652 this.isStretch() && 18653 (e === '-moz-' ? (t = '-moz-available') : e === '-webkit-' && (t = '-webkit-fill-available')), 18654 new c5(this.name, t, t, qw(t)) 18655 ); 18656 } 18657 add(e, t) { 18658 if (!(e.prop.includes('grid') && t !== '-webkit-')) return super.add(e, t); 18659 } 18660 }; 18661 Hl.names = ['max-content', 'min-content', 'fit-content', 'fill', 'fill-available', 'stretch']; 18662 Rw.exports = Hl; 18663 }); 18664 var Nw = v((G4, Fw) => { 18665 l(); 18666 var Bw = Gt(), 18667 d5 = ke(), 18668 Yl = class extends d5 { 18669 replace(e, t) { 18670 return t === '-webkit-' 18671 ? e.replace(this.regexp(), '$1-webkit-optimize-contrast') 18672 : t === '-moz-' 18673 ? e.replace(this.regexp(), '$1-moz-crisp-edges') 18674 : super.replace(e, t); 18675 } 18676 old(e) { 18677 return e === '-webkit-' 18678 ? new Bw(this.name, '-webkit-optimize-contrast') 18679 : e === '-moz-' 18680 ? new Bw(this.name, '-moz-crisp-edges') 18681 : super.old(e); 18682 } 18683 }; 18684 Yl.names = ['pixelated']; 18685 Fw.exports = Yl; 18686 }); 18687 var $w = v((H4, Lw) => { 18688 l(); 18689 var h5 = ke(), 18690 Ql = class extends h5 { 18691 replace(e, t) { 18692 let r = super.replace(e, t); 18693 return t === '-webkit-' && (r = r.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi, 'url($1)$2')), r; 18694 } 18695 }; 18696 Ql.names = ['image-set']; 18697 Lw.exports = Ql; 18698 }); 18699 var zw = v((Y4, jw) => { 18700 l(); 18701 var m5 = ge().list, 18702 g5 = ke(), 18703 Jl = class extends g5 { 18704 replace(e, t) { 18705 return m5 18706 .space(e) 18707 .map((r) => { 18708 if (r.slice(0, +this.name.length + 1) !== this.name + '(') return r; 18709 let n = r.lastIndexOf(')'), 18710 a = r.slice(n + 1), 18711 s = r.slice(this.name.length + 1, n); 18712 if (t === '-webkit-') { 18713 let o = s.match(/\d*.?\d+%?/); 18714 o ? ((s = s.slice(o[0].length).trim()), (s += `, ${o[0]}`)) : (s += ', 0.5'); 18715 } 18716 return t + this.name + '(' + s + ')' + a; 18717 }) 18718 .join(' '); 18719 } 18720 }; 18721 Jl.names = ['cross-fade']; 18722 jw.exports = Jl; 18723 }); 18724 var Uw = v((Q4, Vw) => { 18725 l(); 18726 var y5 = he(), 18727 w5 = Gt(), 18728 b5 = ke(), 18729 Xl = class extends b5 { 18730 constructor(e, t) { 18731 super(e, t); 18732 e === 'display-flex' && (this.name = 'flex'); 18733 } 18734 check(e) { 18735 return e.prop === 'display' && e.value === this.name; 18736 } 18737 prefixed(e) { 18738 let t, r; 18739 return ( 18740 ([t, e] = y5(e)), 18741 t === 2009 18742 ? this.name === 'flex' 18743 ? (r = 'box') 18744 : (r = 'inline-box') 18745 : t === 2012 18746 ? this.name === 'flex' 18747 ? (r = 'flexbox') 18748 : (r = 'inline-flexbox') 18749 : t === 'final' && (r = this.name), 18750 e + r 18751 ); 18752 } 18753 replace(e, t) { 18754 return this.prefixed(t); 18755 } 18756 old(e) { 18757 let t = this.prefixed(e); 18758 if (!!t) return new w5(this.name, t); 18759 } 18760 }; 18761 Xl.names = ['display-flex', 'inline-flex']; 18762 Vw.exports = Xl; 18763 }); 18764 var Gw = v((J4, Ww) => { 18765 l(); 18766 var v5 = ke(), 18767 Kl = class extends v5 { 18768 constructor(e, t) { 18769 super(e, t); 18770 e === 'display-grid' && (this.name = 'grid'); 18771 } 18772 check(e) { 18773 return e.prop === 'display' && e.value === this.name; 18774 } 18775 }; 18776 Kl.names = ['display-grid', 'inline-grid']; 18777 Ww.exports = Kl; 18778 }); 18779 var Yw = v((X4, Hw) => { 18780 l(); 18781 var x5 = ke(), 18782 Zl = class extends x5 { 18783 constructor(e, t) { 18784 super(e, t); 18785 e === 'filter-function' && (this.name = 'filter'); 18786 } 18787 }; 18788 Zl.names = ['filter', 'filter-function']; 18789 Hw.exports = Zl; 18790 }); 18791 var Kw = v((K4, Xw) => { 18792 l(); 18793 var Qw = ii(), 18794 M = R(), 18795 Jw = Dm(), 18796 k5 = Qm(), 18797 S5 = il(), 18798 C5 = hg(), 18799 eu = pt(), 18800 rr = Ht(), 18801 A5 = kg(), 18802 Le = ke(), 18803 ir = fe(), 18804 _5 = Cg(), 18805 O5 = _g(), 18806 E5 = Eg(), 18807 T5 = Pg(), 18808 P5 = Mg(),
18809 D5 = Ng(), 18810 I5 = $g(), 18811 q5 = zg(), 18812 R5 = Ug(), 18813 M5 = Gg(), 18814 B5 = Yg(), 18815 F5 = Jg(), 18816 N5 = Kg(), 18817 L5 = ey(), 18818 $5 = ry(), 18819 j5 = sy(), 18820 z5 = oy(), 18821 V5 = fy(), 18822 U5 = py(), 18823 W5 = hy(), 18824 G5 = yy(), 18825 H5 = by(), 18826 Y5 = ky(), 18827 Q5 = Cy(), 18828 J5 = _y(), 18829 X5 = Ey(), 18830 K5 = Py(), 18831 Z5 = qy(), 18832 eO = My(), 18833 tO = Fy(), 18834 rO = Ly(), 18835 iO = jy(), 18836 nO = Vy(), 18837 sO = Wy(), 18838 aO = Yy(), 18839 oO = Jy(), 18840 lO = Ky(), 18841 uO = ew(), 18842 fO = rw(), 18843 cO = sw(), 18844 pO = ow(), 18845 dO = uw(), 18846 hO = pw(), 18847 mO = hw(), 18848 gO = gw(), 18849 yO = bw(), 18850 wO = xw(), 18851 bO = Sw(), 18852 vO = Iw(), 18853 xO = Mw(), 18854 kO = Nw(), 18855 SO = $w(), 18856 CO = zw(), 18857 AO = Uw(), 18858 _O = Gw(), 18859 OO = Yw(); 18860 rr.hack(_5); 18861 rr.hack(O5); 18862 rr.hack(E5); 18863 rr.hack(T5); 18864 M.hack(P5); 18865 M.hack(D5); 18866 M.hack(I5); 18867 M.hack(q5); 18868 M.hack(R5); 18869 M.hack(M5); 18870 M.hack(B5); 18871 M.hack(F5); 18872 M.hack(N5); 18873 M.hack(L5); 18874 M.hack($5); 18875 M.hack(j5); 18876 M.hack(z5); 18877 M.hack(V5); 18878 M.hack(U5); 18879 M.hack(W5); 18880 M.hack(G5); 18881 M.hack(H5); 18882 M.hack(Y5); 18883 M.hack(Q5); 18884 M.hack(J5); 18885 M.hack(X5); 18886 M.hack(K5); 18887 M.hack(Z5); 18888 M.hack(eO); 18889 M.hack(tO); 18890 M.hack(rO); 18891 M.hack(iO); 18892 M.hack(nO); 18893 M.hack(sO); 18894 M.hack(aO); 18895 M.hack(oO); 18896 M.hack(lO); 18897 M.hack(uO); 18898 M.hack(fO); 18899 M.hack(cO); 18900 M.hack(pO); 18901 M.hack(dO); 18902 M.hack(hO); 18903 M.hack(mO); 18904 M.hack(gO); 18905 M.hack(yO); 18906 M.hack(wO); 18907 M.hack(bO); 18908 Le.hack(vO); 18909 Le.hack(xO); 18910 Le.hack(kO); 18911 Le.hack(SO); 18912 Le.hack(CO); 18913 Le.hack(AO); 18914 Le.hack(_O); 18915 Le.hack(OO); 18916 var tu = new Map(), 18917 si = class { 18918 constructor(e, t, r = {}) { 18919 (this.data = e), 18920 (this.browsers = t), 18921 (this.options = r), 18922 ([this.add, this.remove] = this.preprocess(this.select(this.data))), 18923 (this.transition = new k5(this)), 18924 (this.processor = new S5(this)); 18925 } 18926 cleaner() { 18927 if (this.cleanerCache) return this.cleanerCache; 18928 if (this.browsers.selected.length) { 18929 let e = new eu(this.browsers.data, []); 18930 this.cleanerCache = new si(this.data, e, this.options); 18931 } else return this; 18932 return this.cleanerCache; 18933 } 18934 select(e) { 18935 let t = { add: {}, remove: {} }; 18936 for (let r in e) { 18937 let n = e[r], 18938 a = n.browsers.map((u) => { 18939 let c = u.split(' '); 18940 return { browser: `${c[0]}
18940 ${c[1]}`, note: c[2] }; 18941 }), 18942 s = a.filter((u) => u.note).map((u) => `${this.browsers.prefix(u.browser)} ${u.note}`); 18943 (s = ir.uniq(s)), 18944 (a = a 18945 .filter((u) => this.browsers.isSelected(u.browser)) 18946 .map((u) => { 18947 let c = this.browsers.prefix(u.browser); 18948 return u.note ? `${c} ${u.note}` : c; 18949 })), 18950 (a = this.sort(ir.uniq(a))), 18951 this.options.flexbox === 'no-2009' && (a = a.filter((u) => !u.includes('2009'))); 18952 let o = n.browsers.map((u) => this.browsers.prefix(u)); 18953 n.mistakes && (o = o.concat(n.mistakes)), 18954 (o = o.concat(s)), 18955 (o = ir.uniq(o)), 18956 a.length 18957 ? ((t.add[r] = a), 18958 a.length < o.length && (t.remove[r] = o.filter((u) => !a.includes(u)))) 18959 : (t.remove[r] = o); 18960 } 18961 return t; 18962 } 18963 sort(e) { 18964 return e.sort((t, r) => { 18965 let n = ir.removeNote(t).length, 18966 a = ir.removeNote(r).length; 18967 return n === a ? r.length - t.length : a - n; 18968 }); 18969 } 18970 preprocess(e) { 18971 let t = { selectors: [], '@supports': new C5(si, this) }; 18972 for (let n in e.add) { 18973 let a = e.add[n]; 18974 if (n === '@keyframes' || n === '@viewport') t[n] = new A5(n, a, this); 18975 else if (n === '@resolution') t[n] = new Jw(n, a, this); 18976 else if (this.data[n].selector) t.selectors.push(rr.load(n, a, this)); 18977 else { 18978 let s = this.data[n].props; 18979 if (s) { 18980 let o = Le.load(n, a, this); 18981 for (let u of s) t[u] || (t[u] = { values: [] }), t[u].values.push(o); 18982 } else { 18983 let o = (t[n] && t[n].values) || []; 18984 (t[n] = M.load(n, a, this)), (t[n].values = o); 18985 } 18986 } 18987 } 18988 let r = { selectors: [] }; 18989 for (let n in e.remove) { 18990 let a = e.remove[n]; 18991 if (this.data[n].selector) { 18992 let s = rr.load(n, a); 18993 for (let o of a) r.selectors.push(s.old(o)); 18994 } else if (n === '@keyframes' || n === '@viewport') 18995 for (let s of a) { 18996 let o = `@${s}${n.slice(1)}`; 18997 r[o] = { remove: !0 }; 18998 } 18999 else if (n === '@resolution') r[n] = new Jw(n, a, this); 19000 else { 19001 let s = this.data[n].props; 19002 if (s) { 19003 let o = Le.load(n, [], this); 19004 for (let u of a) { 19005 let c = o.old(u); 19006 if (c) 19007 for (let f of s) 19008 r[f] || (r[f] = {}), r[f].values || (r[f].values = []), r[f].values.push(c); 19009 } 19010 } else 19011 for (let o of a) { 19012 let u = this.decl(n).old(n, o); 19013 if (n === 'align-self') { 19014 let c = t[n] && t[n].prefixes; 19015 if (c) { 19016 if (o === '-webkit- 2009' && c.includes('-webkit-')) continue; 19017 if (o === '-webkit-' && c.includes('-webkit- 2009')) continue; 19018 } 19019 } 19020 for (let c of u) r[c] || (r[c] = {}), (r[c].remove = !0); 19021 } 19022 } 19023 } 19024 return [t, r]; 19025 } 19026 decl(e) { 19027 return tu.has(e) || tu.set(e, M.load(e)), tu.get(e); 19028 } 19029 unprefixed(e) { 19030 let t = this.normalize(Qw.unprefixed(e)); 19031 return t === 'flex-direction' && (t = 'flex-flow'), t; 19032 } 19033 normalize(e) { 19034 return this.decl(e).normalize(e); 19035 } 19036 prefixed(e, t) { 19037 return (e = Qw.unprefixed(e)), this.decl(e).prefixed(e, t); 19038 } 19039 values(e, t) { 19040 let r = this[e], 19041 n = r['*'] && r['*'].values, 19042 a = r[t] && r[t].values; 19043 return n && a ? ir.uniq(n.concat(a)) : n || a || []; 19044 } 19045 group(e) { 19046 let t = e.parent, 19047 r = t.index(e), 19048 { length: n } = t.nodes, 19049 a = this.unprefixed(e.prop), 19050 s = (o, u) => { 19051 for (r += o; r >= 0 && r < n; ) { 19052 let c = t.nodes[r]; 19053 if (c.type === 'decl') { 19054 if ( 19055 (o === -1 && c.prop === a && !eu.withPrefix(c.value)) || 19056 this.unprefixed(c.prop) !== a 19057 ) 19058 break; 19059 if (u(c) === !0) return !0; 19060 if (o === 1 && c.prop === a && !eu.withPrefix(c.value)) break; 19061 } 19062 r += o; 19063 } 19064 return !1; 19065 }; 19066 return { 19067 up(o) { 19068 return s(-1, o); 19069 }, 19070 down(o) { 19071 return s(1, o); 19072 }, 19073 }; 19074 } 19075 }; 19076 Xw.exports = si; 19077 }); 19078 var eb = v((Z4, Zw) => { 19079 l(); 19080 Zw.exports = { 19081 'backdrop-filter': { 19082 feature: 'css-backdrop-filter', 19083 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5', 'safari 16.5'], 19084 }, 19085 element: { 19086 props: [ 19087 'background', 19088 'background-image', 19089 'border-image', 19090 'mask', 19091 'list-style', 19092 'list-style-image', 19093 'content', 19094 'mask-image', 19095 ], 19096 feature: 'css-element-function', 19097 browsers: ['firefox 114'], 19098 }, 19099 'user-select': { 19100 mistakes: ['-khtml-'], 19101 feature: 'user-select-none', 19102 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5', 'safari 16.5'], 19103 }, 19104 'background-clip': { 19105 feature: 'background-clip-text', 19106 browsers: [ 19107 'and_chr 114', 19108 'and_uc 15.5', 19109 'chrome 109', 19110 'chrome 113', 19111 'chrome 114', 19112 'edge 114', 19113 'opera 99', 19114 'samsung 21', 19115 ], 19116 }, 19117 hyphens: { 19118 feature: 'css-hyphens', 19119 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5', 'safari 16.5'], 19120 }, 19121 fill: { 19122 props: [ 19123 'width', 19124 'min-width', 19125 'max-width', 19126 'height', 19127 'min-height', 19128 'max-height', 19129 'inline-size', 19130 'min-inline-size', 19131 'max-inline-size', 19132 'block-size', 19133 'min-block-size', 19134 'max-block-size', 19135 'grid', 19136 'grid-template', 19137 'grid-template-rows', 19138 'grid-template-columns', 19139 'grid-auto-columns', 19140 'grid-auto-rows', 19141 ], 19142 feature: 'intrinsic-width', 19143 browsers: [ 19144 'and_chr 114', 19145 'and_uc 15.5', 19146 'chrome 109', 19147 'chrome 113', 19148 'chrome 114', 19149 'edge 114', 19150 'opera 99', 19151 'samsung 21', 19152 ], 19153 }, 19154 'fill-available': { 19155 props: [ 19156 'width', 19157 'min-width', 19158 'max-width', 19159 'height', 19160 'min-height', 19161 'max-height', 19162 'inline-size', 19163 'min-inline-size', 19164 'max-inline-size', 19165 'block-size', 19166 'min-block-size', 19167 'max-block-size', 19168 'grid', 19169 'grid-template', 19170 'grid-template-rows', 19171 'grid-template-columns', 19172 'grid-auto-columns', 19173 'grid-auto-rows', 19174 ], 19175 feature: 'intrinsic-width', 19176 browsers: [ 19177 'and_chr 114', 19178 'and_uc 15.5', 19179 'chrome 109', 19180 'chrome 113', 19181 'chrome 114', 19182 'edge 114', 19183 'opera 99', 19184 'samsung 21', 19185 ], 19186 }, 19187 stretch: { 19188 props: [ 19189 'width', 19190 'min-width', 19191 'max-width', 19192 'height', 19193 'min-height', 19194 'max-height', 19195 'inline-size', 19196 'min-inline-size', 19197 'max-inline-size', 19198 'block-size', 19199 'min-block-size', 19200 'max-block-size', 19201 'grid', 19202 'grid-template', 19203 'grid-template-rows', 19204 'grid-template-columns', 19205 'grid-auto-columns', 19206 'grid-auto-rows', 19207 ], 19208 feature: 'intrinsic-width', 19209 browsers: ['firefox 114'], 19210 }, 19211 'fit-content': { 19212 props: [ 19213 'width', 19214 'min-width', 19215 'max-width', 19216 'height', 19217 'min-height', 19218 'max-height', 19219 'inline-size', 19220 'min-inline-size', 19221 'max-inline-size', 19222 'block-size', 19223 'min-block-size', 19224 'max-block-size', 19225 'grid', 19226 'grid-template', 19227 'grid-template-rows', 19228 'grid-template-columns', 19229 'grid-auto-columns', 19230 'grid-auto-rows', 19231 ], 19232 feature: 'intrinsic-width', 19233 browsers: ['firefox 114'], 19234 }, 19235 'text-decoration-style': { 19236 feature: 'text-decoration', 19237 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19238 }, 19239 'text-decoration-color': { 19240 feature: 'text-decoration', 19241 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19242 }, 19243 'text-decoration-line': { 19244 feature: 'text-decoration', 19245 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19246 }, 19247 'text-decoration': { 19248 feature: 'text-decoration', 19249 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19250 }, 19251 'text-decoration-skip': { 19252 feature: 'text-decoration', 19253 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19254 }, 19255 'text-decoration-skip-ink': { 19256 feature: 'text-decoration', 19257 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19258 }, 19259 'text-size-adjust': { 19260 feature: 'text-size-adjust', 19261 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5'], 19262 }, 19263 'mask-clip': { 19264 feature: 'css-masks', 19265 browsers: [ 19266 'and_chr 114', 19267 'and_uc 15.5', 19268 'chrome 109', 19269 'chrome 113', 19270 'chrome 114', 19271 'edge 114', 19272 'opera 99', 19273 'samsung 21', 19274 ], 19275 }, 19276 'mask-composite': { 19277 feature: 'css-masks', 19278 browsers: [ 19279 'and_chr 114', 19280 'and_uc 15.5', 19281 'chrome 109', 19282 'chrome 113', 19283 'chrome 114', 19284 'edge 114', 19285 'opera 99', 19286 'samsung 21', 19287 ], 19288 }, 19289 'mask-image': { 19290 feature: 'css-masks', 19291 browsers: [ 19292 'and_chr 114', 19293 'and_uc 15.5', 19294 'chrome 109', 19295 'chrome 113', 19296 'chrome 114', 19297 'edge 114', 19298 'opera 99', 19299 'samsung 21', 19300 ], 19301 }, 19302 'mask-origin': { 19303 feature: 'css-masks', 19304 browsers: [ 19305 'and_chr 114', 19306 'and_uc 15.5', 19307 'chrome 109', 19308 'chrome 113', 19309 'chrome 114', 19310 'edge 114', 19311 'opera 99', 19312 'samsung 21', 19313 ], 19314 }, 19315 'mask-repeat': { 19316 feature: 'css-masks', 19317 browsers: [ 19318 'and_chr 114', 19319 'and_uc 15.5', 19320 'chrome 109', 19321 'chrome 113', 19322 'chrome 114', 19323 'edge 114', 19324 'opera 99', 19325 'samsung 21', 19326 ], 19327 }, 19328 'mask-border-repeat': { 19329 feature: 'css-masks', 19330 browsers: [ 19331 'and_chr 114', 19332 'and_uc 15.5', 19333 'chrome 109', 19334 'chrome 113', 19335 'chrome 114', 19336 'edge 114', 19337 'opera 99', 19338 'samsung 21', 19339 ], 19340 }, 19341 'mask-border-source': { 19342 feature: 'css-masks', 19343 browsers: [ 19344 'and_chr 114', 19345 'and_uc 15.5', 19346 'chrome 109', 19347 'chrome 113', 19348 'chrome 114', 19349 'edge 114', 19350 'opera 99', 19351 'samsung 21', 19352 ], 19353 }, 19354 mask: { 19355 feature: 'css-masks', 19356 browsers: [ 19357 'and_chr 114', 19358 'and_uc 15.5', 19359 'chrome 109', 19360 'chrome 113', 19361 'chrome 114', 19362 'edge 114', 19363 'opera 99', 19364 'samsung 21', 19365 ], 19366 }, 19367 'mask-position': { 19368 feature: 'css-masks', 19369 browsers: [ 19370 'and_chr 114', 19371 'and_uc 15.5', 19372 'chrome 109', 19373 'chrome 113', 19374 'chrome 114', 19375 'edge 114', 19376 'opera 99', 19377 'samsung 21', 19378 ], 19379 }, 19380 'mask-size': { 19381 feature: 'css-masks', 19382 browsers: [ 19383 'and_chr 114', 19384 'and_uc 15.5', 19385 'chrome 109', 19386 'chrome 113', 19387 'chrome 114', 19388 'edge 114', 19389 'opera 99', 19390 'samsung 21', 19391 ], 19392 }, 19393 'mask-border': { 19394 feature: 'css-masks', 19395 browsers: [ 19396 'and_chr 114', 19397 'and_uc 15.5', 19398 'chrome 109', 19399 'chrome 113', 19400 'chrome 114', 19401 'edge 114', 19402 'opera 99', 19403 'samsung 21', 19404 ], 19405 }, 19406 'mask-border-outset': { 19407 feature: 'css-masks', 19408 browsers: [ 19409 'and_chr 114', 19410 'and_uc 15.5', 19411 'chrome 109', 19412 'chrome 113', 19413 'chrome 114', 19414 'edge 114', 19415 'opera 99', 19416 'samsung 21', 19417 ], 19418 }, 19419 'mask-border-width': { 19420 feature: 'css-masks', 19421 browsers: [ 19422 'and_chr 114', 19423 'and_uc 15.5', 19424 'chrome 109', 19425 'chrome 113', 19426 'chrome 114', 19427 'edge 114', 19428 'opera 99', 19429 'samsung 21', 19430 ], 19431 }, 19432 'mask-border-slice': { 19433 feature: 'css-masks', 19434 browsers: [ 19435 'and_chr 114', 19436 'and_uc 15.5', 19437 'chrome 109', 19438 'chrome 113', 19439 'chrome 114', 19440 'edge 114', 19441 'opera 99', 19442 'samsung 21', 19443 ], 19444 }, 19445 'clip-path': { feature: 'css-clip-path', browsers: ['samsung 21'] }, 19446 'box-decoration-break': { 19447 feature: 'css-boxdecorationbreak', 19448 browsers: [ 19449 'and_chr 114', 19450 'and_uc 15.5', 19451 'chrome 109', 19452 'chrome 113', 19453 'chrome 114', 19454 'edge 114', 19455 'ios_saf 16.1', 19456 'ios_saf 16.3', 19457 'ios_saf 16.4', 19458 'ios_saf 16.5', 19459 'opera 99', 19460 'safari 16.5', 19461 'samsung 21', 19462 ], 19463 }, 19464 appearance: { feature: 'css-appearance', browsers: ['samsung 21'] }, 19465 'image-set': { 19466 props: [ 19467 'background', 19468 'background-image', 19469 'border-image', 19470 'cursor', 19471 'mask', 19472 'mask-image', 19473 'list-style', 19474 'list-style-image', 19475 'content', 19476 ], 19477 feature: 'css-image-set', 19478 browsers: ['and_uc 15.5', 'chrome 109', 'samsung 21'], 19479 }, 19480 'cross-fade': { 19481 props: [ 19482 'background', 19483 'background-image', 19484 'border-image', 19485 'mask', 19486 'list-style', 19487 'list-style-image', 19488 'content', 19489 'mask-image', 19490 ], 19491 feature: 'css-cross-fade', 19492 browsers: [ 19493 'and_chr 114', 19494 'and_uc 15.5', 19495 'chrome 109', 19496 'chrome 113', 19497 'chrome 114', 19498 'edge 114', 19499 'opera 99', 19500 'samsung 21', 19501 ], 19502 }, 19503 isolate: {
19504 props: ['unicode-bidi'], 19505 feature: 'css-unicode-bidi', 19506 browsers: ['ios_saf 16.1', 'ios_saf 16.3', 'ios_saf 16.4', 'ios_saf 16.5', 'safari 16.5'], 19507 }, 19508 'color-adjust': { 19509 feature: 'css-color-adjust', 19510 browsers: ['chrome 109', 'chrome 113', 'chrome 114', 'edge 114', 'opera 99'], 19511 }, 19512 }; 19513 }); 19514 var rb = v((eq, tb) => { 19515 l(); 19516 tb.exports = {}; 19517 }); 19518 var ab = v((tq, sb) => { 19519 l(); 19520 var EO = Wo(), 19521 { agents: TO } = ($n(), Ln), 19522 ru = ym(), 19523 PO = pt(), 19524 DO = Kw(), 19525 IO = eb(), 19526 qO = rb(), 19527 ib = { browsers: TO, prefixes: IO }, 19528 nb = ` 19529 Replace Autoprefixer \`browsers\` option to Browserslist config. 19530 Use \`browserslist\` key in \`package.json\` or \`.browserslistrc\` file. 19531 19532 Using \`browsers\` option can cause errors. Browserslist config can 19533 be used for Babel, Autoprefixer, postcss-normalize and other tools. 19534 19535 If you really need to use option, rename it to \`overrideBrowserslist\`. 19536 19537 Learn more at: 19538 https://github.com/browserslist/browserslist#readme 19539 https://twitter.com/browserslist 19540 19541`; 19542 function RO(i) { 19543 return Object.prototype.toString.apply(i) === '[object Object]'; 19544 } 19545 var iu = new Map(); 19546 function MO(i, e) { 19547 e.browsers.selected.length !== 0 && 19548 (e.add.selectors.length > 0 || 19549 Object.keys(e.add).length > 2 || 19550 i.warn(`Autoprefixer target browsers do not need any prefixes.You do not need Autoprefixer anymore. 19551Check your Browserslist config to be sure that your targets are set up correctly. 19552 19553 Learn more at: 19554 https://github.com/postcss/autoprefixer#readme 19555 https://github.com/browserslist/browserslist#readme 19556 19557`)); 19558 } 19559 sb.exports = nr; 19560 function nr(...i) { 19561 let e; 19562 if ( 19563 (i.length === 1 && RO(i[0]) 19564 ? ((e = i[0]), (i = void 0)) 19565 : i.length === 0 || (i.length === 1 && !i[0]) 19566 ? (i = void 0) 19567 : i.length <= 2 && (Array.isArray(i[0]) || !i[0]) 19568 ? ((e = i[1]), (i = i[0])) 19569 : typeof i[i.length - 1] == 'object' && (e = i.pop()), 19570 e || (e = {}), 19571 e.browser) 19572 ) 19573 throw new Error('Change `browser` option to `overrideBrowserslist` in Autoprefixer'); 19574 if (e.browserslist) 19575 throw new Error('Change `browserslist` option to `overrideBrowserslist` in Autoprefixer'); 19576 e.overrideBrowserslist 19577 ? (i = e.overrideBrowserslist) 19578 : e.browsers && 19579 (typeof console != 'undefined' && 19580 console.warn && 19581 (ru.red 19582 ? console.warn(ru.red(nb.replace(/`[^`]+`/g, (n) => ru.yellow(n.slice(1, -1))))) 19583 : console.warn(nb)), 19584 (i = e.browsers)); 19585 let t = { 19586 ignoreUnknownVersions: e.ignoreUnknownVersions, 19587 stats: e.stats, 19588 env: e.env, 19589 }; 19590 function r(n) { 19591 let a = ib, 19592 s = new PO(a.browsers, i, n, t), 19593 o = s.selected.join(', ') + JSON.stringify(e); 19594 return iu.has(o) || iu.set(o, new DO(a.prefixes, s, e)), iu.get(o); 19595 } 19596 return { 19597 postcssPlugin: 'autoprefixer', 19598 prepare(n) { 19599 let a = r({ from: n.opts.from, env: e.env }); 19600 return { 19601 OnceExit(s) { 19602 MO(n, a), 19603 e.remove !== !1 && a.processor.remove(s, n), 19604 e.add !== !1 && a.processor.add(s, n); 19605 }, 19606 }; 19607 }, 19608 info(n) { 19609 return (n = n || {}), (n.from = n.from || h.cwd()), qO(r(n)); 19610 }, 19611 options: e, 19612 browsers: i, 19613 }; 19614 } 19615 nr.postcss = !0; 19616 nr.data = ib; 19617 nr.defaults = EO.defaults; 19618 nr.info = () => nr().info(); 19619 }); 19620 var ob = {}; 19621 Ae(ob, { default: () => BO }); 19622 var BO, 19623 lb = C(() => { 19624 l(); 19625 BO = []; 19626 }); 19627 var fb = {}; 19628 Ae(fb, { default: () => FO }); 19629 var ub, 19630 FO, 19631 cb = C(() => { 19632 l(); 19633 hi(); 19634 (ub = K(bi())), (FO = Ze(ub.default.theme)); 19635 }); 19636 var db = {}; 19637 Ae(db, { default: () => NO }); 19638 var pb, 19639 NO, 19640 hb = C(() => { 19641 l(); 19642 hi(); 19643 (pb = K(bi())), (NO = Ze(pb.default)); 19644 }); 19645 l(); 19646 ('use strict'); 19647 var LO = Je(mm()), 19648 $O = Je(ge()), 19649 jO = Je(ab()), 19650 zO = Je((lb(), ob)), 19651 VO = Je((cb(), fb)), 19652 UO = Je((hb(), db)), 19653 WO = Je((Zn(), ku)), 19654 GO = Je((wo(), yo)), 19655 HO = Je((hs(), tf)); 19656 function Je(i) { 19657 return i && i.__esModule ? i : { default: i }; 19658 } 19659 var Hn = 'tailwind', 19660 nu = 'text/tailwindcss', 19661 mb = '/template.html', 19662 xt, 19663 gb = !0, 19664 yb = 0, 19665 su = new Set(), 19666 au, 19667 wb = '', 19668 bb = (i = !1) => ({ 19669 get(e, t) { 19670 return (!i || t === 'config') && typeof e[t] == 'object' && e[t] !== null 19671 ? new Proxy(e[t], bb()) 19672 : e[t]; 19673 }, 19674 set(e, t, r) { 19675 return (e[t] = r), (!i || t === 'config') && ou(!0), !0; 19676 }, 19677 }); 19678 window[Hn] = new Proxy( 19679 { 19680 config: {}, 19681 defaultTheme: VO.default, 19682 defaultConfig: UO.default, 19683 colors: WO.default, 19684 plugin: GO.default, 19685 resolveConfig: HO.default, 19686 }, 19687 bb(!0), 19688 ); 19689 function vb(i) { 19690 au.observe(i, { 19691 attributes: !0, 19692 attributeFilter: ['type'], 19693 characterData: !0, 19694 subtree: !0, 19695 childList: !0, 19696 }); 19697 } 19698 new MutationObserver(async (i) => { 19699 let e = !1; 19700 if (!au) { 19701 au = new MutationObserver(async () => await ou(!0)); 19702 for (let t of document.querySelectorAll(`style[type="${nu}"]`)) vb(t); 19703 } 19704 for (let t of i) 19705 for (let r of t.addedNodes)
19706 r.nodeType === 1 && r.tagName === 'STYLE' && r.getAttribute('type') === nu && (vb(r), (e = !0)); 19707 await ou(e); 19708 }).observe(document.documentElement, { 19709 attributes: !0, 19710 attributeFilter: ['class'], 19711 childList: !0, 19712 subtree: !0, 19713 }); 19714 async function ou(i = !1) { 19715 i && (yb++, su.clear()); 19716 let e = ''; 19717 for (let r of document.querySelectorAll(`style[type="${nu}"]`)) e += r.textContent; 19718 let t = new Set(); 19719 for (let r of document.querySelectorAll('[class]')) for (let n of r.classList) su.has(n) || t.add(n); 19720 if (document.body && (gb || t.size > 0 || e !== wb || !xt || !xt.isConnected)) { 19721 for (let n of t) su.add(n); 19722 (gb = !1), (wb = e), (self[mb] = Array.from(t).join(' ')); 19723 let { css: r } = await (0, $O.default)([ 19724 (0, LO.default)({ 19725 ...window[Hn].config, 19726 _hash: yb, 19727 content: [mb], 19728 plugins: [ 19729 ...zO.default, 19730 ...(Array.isArray(window[Hn].config.plugins) ? window[Hn].config.plugins : []), 19731 ], 19732 }), 19733 (0, jO.default)({ remove: !1 }), 19734 ]).process(`@tailwind base;@tailwind components;@tailwind utilities;${e}`); 19735 (!xt || !xt.isConnected) && ((xt = document.createElement('style')), document.head.append(xt)), 19736 (xt.textContent = r); 19737 } 19738 } 19739})(); 19740/*! https://mths.be/cssesc v3.0.0 by @mathias */
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.