版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

3119 lines
97 KiB

  1. /*! *****************************************************************************
  2. Copyright (c) Microsoft Corporation.
  3. Permission to use, copy, modify, and/or distribute this software for any
  4. purpose with or without fee is hereby granted.
  5. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  6. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  7. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  8. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  9. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  10. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  11. PERFORMANCE OF THIS SOFTWARE.
  12. ***************************************************************************** */
  13. var __assign = function() {
  14. __assign = Object.assign || function __assign(t) {
  15. for (var s, i = 1, n = arguments.length; i < n; i++) {
  16. s = arguments[i];
  17. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
  18. }
  19. return t;
  20. };
  21. return __assign.apply(this, arguments);
  22. };
  23. function __spreadArray(to, from, pack) {
  24. if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
  25. if (ar || !(i in from)) {
  26. if (!ar) ar = Array.prototype.slice.call(from, 0, i);
  27. ar[i] = from[i];
  28. }
  29. }
  30. return to.concat(ar || Array.prototype.slice.call(from));
  31. }
  32. var Console = /** @class */ (function () {
  33. function Console() {
  34. }
  35. Console.log = function () {
  36. var message = [];
  37. for (var _i = 0; _i < arguments.length; _i++) {
  38. message[_i] = arguments[_i];
  39. }
  40. // eslint-disable-next-line no-console
  41. console.log.apply(console, message);
  42. };
  43. Console.error = function () {
  44. var message = [];
  45. for (var _i = 0; _i < arguments.length; _i++) {
  46. message[_i] = arguments[_i];
  47. }
  48. // eslint-disable-next-line no-console
  49. console.error.apply(console, message);
  50. };
  51. Console.time = function (label) {
  52. // eslint-disable-next-line no-console
  53. console.time(label);
  54. };
  55. Console.timeEnd = function (label) {
  56. // eslint-disable-next-line no-console
  57. console.timeEnd(label);
  58. };
  59. return Console;
  60. }());
  61. var sky = {
  62. 50: '#f0f9ff',
  63. 100: '#e0f2fe',
  64. 200: '#bae6fd',
  65. 300: '#7dd3fc',
  66. 400: '#38bdf8',
  67. 500: '#0ea5e9',
  68. 600: '#0284c7',
  69. 700: '#0369a1',
  70. 800: '#075985',
  71. 900: '#0c4a6e',
  72. };
  73. var neutral = {
  74. 50: '#fafafa',
  75. 100: '#f5f5f5',
  76. 200: '#e5e5e5',
  77. 300: '#d4d4d4',
  78. 400: '#a3a3a3',
  79. 500: '#737373',
  80. 600: '#525252',
  81. 700: '#404040',
  82. 800: '#262626',
  83. 900: '#171717',
  84. };
  85. var stone = {
  86. 50: '#fafaf9',
  87. 100: '#f5f5f4',
  88. 200: '#e7e5e4',
  89. 300: '#d6d3d1',
  90. 400: '#a8a29e',
  91. 500: '#78716c',
  92. 600: '#57534e',
  93. 700: '#44403c',
  94. 800: '#292524',
  95. 900: '#1c1917',
  96. };
  97. var slate = {
  98. 50: '#f8fafc',
  99. 100: '#f1f5f9',
  100. 200: '#e2e8f0',
  101. 300: '#cbd5e1',
  102. 400: '#94A3B8',
  103. 500: '#64748B',
  104. 600: '#475569',
  105. 700: '#334155',
  106. 800: '#1E293B',
  107. 900: '#0F172A',
  108. };
  109. var zinc = {
  110. 50: '#fafafa',
  111. 100: '#f4f4f5',
  112. 200: '#e4e4e7',
  113. 300: '#d4d4d8',
  114. 400: '#a1a1aa',
  115. 500: '#71717A',
  116. 600: '#52525B',
  117. 700: '#3F3F46',
  118. 800: '#27272A',
  119. 900: '#18181B',
  120. };
  121. var gray = {
  122. 50: '#f9fafb',
  123. 100: '#f3f4f6',
  124. 200: '#e5e7eb',
  125. 300: '#d1d5db',
  126. 400: '#9ca3af',
  127. 500: '#6b7280',
  128. 600: '#4b5563',
  129. 700: '#374151',
  130. 800: '#1f2937',
  131. 900: '#111827',
  132. };
  133. var warned = false;
  134. function color_warn(from, to) {
  135. if (!warned) {
  136. Console.log("warn - '".concat(from, "' has been renamed to '").concat(to, "'."));
  137. Console.log('warn - Please update your color palette to eliminate this warning.');
  138. warned = true;
  139. }
  140. }
  141. var colors = {
  142. inherit: 'inherit',
  143. current: 'currentColor',
  144. transparent: 'transparent',
  145. black: '#000',
  146. white: '#fff',
  147. rose: {
  148. 50: '#fff1f2',
  149. 100: '#ffe4e6',
  150. 200: '#fecdd3',
  151. 300: '#fda4af',
  152. 400: '#fb7185',
  153. 500: '#f43f5e',
  154. 600: '#e11d48',
  155. 700: '#be123c',
  156. 800: '#9f1239',
  157. 900: '#881337',
  158. },
  159. pink: {
  160. 50: '#fdf2f8',
  161. 100: '#fce7f3',
  162. 200: '#fbcfe8',
  163. 300: '#f9a8d4',
  164. 400: '#f472b6',
  165. 500: '#ec4899',
  166. 600: '#db2777',
  167. 700: '#be185d',
  168. 800: '#9d174d',
  169. 900: '#831843',
  170. },
  171. fuchsia: {
  172. 50: '#fdf4ff',
  173. 100: '#fae8ff',
  174. 200: '#f5d0fe',
  175. 300: '#f0abfc',
  176. 400: '#e879f9',
  177. 500: '#d946ef',
  178. 600: '#c026d3',
  179. 700: '#a21caf',
  180. 800: '#86198f',
  181. 900: '#701a75',
  182. },
  183. purple: {
  184. 50: '#faf5ff',
  185. 100: '#f3e8ff',
  186. 200: '#e9d5ff',
  187. 300: '#d8b4fe',
  188. 400: '#c084fc',
  189. 500: '#a855f7',
  190. 600: '#9333ea',
  191. 700: '#7e22ce',
  192. 800: '#6b21a8',
  193. 900: '#581c87',
  194. },
  195. violet: {
  196. 50: '#f5f3ff',
  197. 100: '#ede9fe',
  198. 200: '#ddd6fe',
  199. 300: '#c4b5fd',
  200. 400: '#a78bfa',
  201. 500: '#8b5cf6',
  202. 600: '#7c3aed',
  203. 700: '#6d28d9',
  204. 800: '#5b21b6',
  205. 900: '#4c1d95',
  206. },
  207. indigo: {
  208. 50: '#eef2ff',
  209. 100: '#e0e7ff',
  210. 200: '#c7d2fe',
  211. 300: '#a5b4fc',
  212. 400: '#818cf8',
  213. 500: '#6366f1',
  214. 600: '#4f46e5',
  215. 700: '#4338ca',
  216. 800: '#3730a3',
  217. 900: '#312e81',
  218. },
  219. blue: {
  220. 50: '#eff6ff',
  221. 100: '#dbeafe',
  222. 200: '#bfdbfe',
  223. 300: '#93c5fd',
  224. 400: '#60a5fa',
  225. 500: '#3b82f6',
  226. 600: '#2563eb',
  227. 700: '#1d4ed8',
  228. 800: '#1e40af',
  229. 900: '#1e3a8a',
  230. },
  231. sky: sky,
  232. get lightBlue() {
  233. color_warn('lightBlue', 'sky');
  234. return sky;
  235. },
  236. cyan: {
  237. 50: '#ecfeff',
  238. 100: '#cffafe',
  239. 200: '#a5f3fc',
  240. 300: '#67e8f9',
  241. 400: '#22d3ee',
  242. 500: '#06b6d4',
  243. 600: '#0891b2',
  244. 700: '#0e7490',
  245. 800: '#155e75',
  246. 900: '#164e63',
  247. },
  248. teal: {
  249. 50: '#f0fdfa',
  250. 100: '#ccfbf1',
  251. 200: '#99f6e4',
  252. 300: '#5eead4',
  253. 400: '#2dd4bf',
  254. 500: '#14b8a6',
  255. 600: '#0d9488',
  256. 700: '#0f766e',
  257. 800: '#115e59',
  258. 900: '#134e4a',
  259. },
  260. emerald: {
  261. 50: '#ecfdf5',
  262. 100: '#d1fae5',
  263. 200: '#a7f3d0',
  264. 300: '#6ee7b7',
  265. 400: '#34d399',
  266. 500: '#10b981',
  267. 600: '#059669',
  268. 700: '#047857',
  269. 800: '#065f46',
  270. 900: '#064e3b',
  271. },
  272. green: {
  273. 50: '#f0fdf4',
  274. 100: '#dcfce7',
  275. 200: '#bbf7d0',
  276. 300: '#86efac',
  277. 400: '#4ade80',
  278. 500: '#22c55e',
  279. 600: '#16a34a',
  280. 700: '#15803d',
  281. 800: '#166534',
  282. 900: '#14532d',
  283. },
  284. lime: {
  285. 50: '#f7fee7',
  286. 100: '#ecfccb',
  287. 200: '#d9f99d',
  288. 300: '#bef264',
  289. 400: '#a3e635',
  290. 500: '#84cc16',
  291. 600: '#65a30d',
  292. 700: '#4d7c0f',
  293. 800: '#3f6212',
  294. 900: '#365314',
  295. },
  296. yellow: {
  297. 50: '#fefce8',
  298. 100: '#fef9c3',
  299. 200: '#fef08a',
  300. 300: '#fde047',
  301. 400: '#facc15',
  302. 500: '#eab308',
  303. 600: '#ca8a04',
  304. 700: '#a16207',
  305. 800: '#854d0e',
  306. 900: '#713f12',
  307. },
  308. amber: {
  309. 50: '#fffbeb',
  310. 100: '#fef3c7',
  311. 200: '#fde68a',
  312. 300: '#fcd34d',
  313. 400: '#fbbf24',
  314. 500: '#f59e0b',
  315. 600: '#d97706',
  316. 700: '#b45309',
  317. 800: '#92400e',
  318. 900: '#78350f',
  319. },
  320. orange: {
  321. 50: '#fff7ed',
  322. 100: '#ffedd5',
  323. 200: '#fed7aa',
  324. 300: '#fdba74',
  325. 400: '#fb923c',
  326. 500: '#f97316',
  327. 600: '#ea580c',
  328. 700: '#c2410c',
  329. 800: '#9a3412',
  330. 900: '#7c2d12',
  331. },
  332. red: {
  333. 50: '#fef2f2',
  334. 100: '#fee2e2',
  335. 200: '#fecaca',
  336. 300: '#fca5a5',
  337. 400: '#f87171',
  338. 500: '#ef4444',
  339. 600: '#dc2626',
  340. 700: '#b91c1c',
  341. 800: '#991b1b',
  342. 900: '#7f1d1d',
  343. },
  344. get warmGray() {
  345. color_warn('warmGray', 'stone');
  346. return stone;
  347. },
  348. get trueGray() {
  349. color_warn('trueGray', 'neutral');
  350. return neutral;
  351. },
  352. gray: gray,
  353. get coolGray() {
  354. color_warn('coolGray', 'gray');
  355. return gray;
  356. },
  357. get blueGray() {
  358. color_warn('blueGray', 'slate');
  359. return slate;
  360. },
  361. slate: slate,
  362. zinc: zinc,
  363. get zink() {
  364. color_warn('zink', 'zinc');
  365. return zinc;
  366. },
  367. neutral: neutral,
  368. stone: stone,
  369. light: {
  370. 50: '#fdfdfd',
  371. 100: '#fcfcfc',
  372. 200: '#fafafa',
  373. 300: '#f8f9fa',
  374. 400: '#f6f6f6',
  375. 500: '#f2f2f2',
  376. 600: '#f1f3f5',
  377. 700: '#e9ecef',
  378. 800: '#dee2e6',
  379. 900: '#dde1e3',
  380. },
  381. dark: {
  382. 50: '#4a4a4a',
  383. 100: '#3c3c3c',
  384. 200: '#323232',
  385. 300: '#2d2d2d',
  386. 400: '#222222',
  387. 500: '#1f1f1f',
  388. 600: '#1c1c1e',
  389. 700: '#1b1b1b',
  390. 800: '#181818',
  391. 900: '#0f0f0f',
  392. },
  393. };
  394. var keyframes = {
  395. spin: {
  396. from: {
  397. transform: 'rotate(0deg)',
  398. },
  399. to: {
  400. transform: 'rotate(360deg)',
  401. },
  402. },
  403. ping: {
  404. '0%': {
  405. transform: 'scale(1)',
  406. opacity: '1',
  407. },
  408. '75%, 100%': {
  409. transform: 'scale(2)',
  410. opacity: '0',
  411. },
  412. },
  413. pulse: {
  414. '0%, 100%': {
  415. opacity: '1',
  416. },
  417. '50%': {
  418. opacity: '.5',
  419. },
  420. },
  421. bounce: {
  422. '0%, 100%': {
  423. transform: 'translateY(-25%)',
  424. animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
  425. },
  426. '50%': {
  427. transform: 'translateY(0)',
  428. animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
  429. },
  430. },
  431. shock: {
  432. 'from, 20%, 53%, 80%, to': {
  433. animationTimingFunction: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  434. transform: 'translate3d(0, 0, 0)',
  435. },
  436. '40%, 43%': {
  437. animationTimingFunction: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
  438. transform: 'translate3d(0, -30px, 0)',
  439. },
  440. '70%': {
  441. animationTimingFunction: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
  442. transform: 'translate3d(0, -15px, 0)',
  443. },
  444. '90%': {
  445. transform: 'translate3d(0, -4px, 0)',
  446. },
  447. },
  448. flash: {
  449. 'from, 50%, to': {
  450. opacity: '1',
  451. },
  452. '25%, 75%': {
  453. opacity: '0',
  454. },
  455. },
  456. bubble: {
  457. 'from': {
  458. transform: 'scale3d(1, 1, 1)',
  459. },
  460. '50%': {
  461. transform: 'scale3d(1.05, 1.05, 1.05)',
  462. },
  463. 'to': {
  464. transform: 'scale3d(1, 1, 1)',
  465. },
  466. },
  467. rubberBand: {
  468. 'from': {
  469. transform: 'scale3d(1, 1, 1)',
  470. },
  471. '30%': {
  472. transform: 'scale3d(1.25, 0.75, 1)',
  473. },
  474. '40%': {
  475. transform: 'scale3d(0.75, 1.25, 1)',
  476. },
  477. '50%': {
  478. transform: 'scale3d(1.15, 0.85, 1)',
  479. },
  480. '65%': {
  481. transform: 'scale3d(0.95, 1.05, 1)',
  482. },
  483. '75%': {
  484. transform: 'scale3d(1.05, 0.95, 1)',
  485. },
  486. 'to': {
  487. transform: 'scale3d(1, 1, 1)',
  488. },
  489. },
  490. shakeX: {
  491. 'from, to': {
  492. transform: 'translate3d(0, 0, 0)',
  493. },
  494. '10%, 30%, 50%, 70%, 90%': {
  495. transform: 'translate3d(-10px, 0, 0)',
  496. },
  497. '20%, 40%, 60%, 80%': {
  498. transform: 'translate3d(10px, 0, 0)',
  499. },
  500. },
  501. shakeY: {
  502. 'from, to': {
  503. transform: 'translate3d(0, 0, 0)',
  504. },
  505. '10%, 30%, 50%, 70%, 90%': {
  506. transform: 'translate3d(0, -10px, 0)',
  507. },
  508. '20%, 40%, 60%, 80%': {
  509. transform: 'translate3d(0, 10px, 0)',
  510. },
  511. },
  512. headShake: {
  513. '0%': {
  514. transform: 'translateX(0)',
  515. },
  516. '6.5%': {
  517. transform: 'translateX(-6px) rotateY(-9deg)',
  518. },
  519. '18.5%': {
  520. transform: 'translateX(5px) rotateY(7deg)',
  521. },
  522. '31.5%': {
  523. transform: 'translateX(-3px) rotateY(-5deg)',
  524. },
  525. '43.5%': {
  526. transform: 'translateX(2px) rotateY(3deg)',
  527. },
  528. '50%': {
  529. transform: 'translateX(0)',
  530. },
  531. },
  532. swing: {
  533. '20%': {
  534. transform: 'rotate3d(0, 0, 1, 15deg)',
  535. },
  536. '40%': {
  537. transform: 'rotate3d(0, 0, 1, -10deg)',
  538. },
  539. '60%': {
  540. transform: 'rotate3d(0, 0, 1, 5deg)',
  541. },
  542. '80%': {
  543. transform: 'rotate3d(0, 0, 1, -5deg)',
  544. },
  545. 'to': {
  546. transform: 'rotate3d(0, 0, 1, 0deg)',
  547. },
  548. },
  549. tada: {
  550. 'from': {
  551. transform: 'scale3d(1, 1, 1)',
  552. },
  553. '10%, 20%': {
  554. transform: 'scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)',
  555. },
  556. '30%, 50%, 70%, 90%': {
  557. transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)',
  558. },
  559. '40%, 60%, 80%': {
  560. transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)',
  561. },
  562. 'to': {
  563. transform: 'scale3d(1, 1, 1)',
  564. },
  565. },
  566. wobble: {
  567. 'from': {
  568. transform: 'translate3d(0, 0, 0)',
  569. },
  570. '15%': {
  571. transform: 'translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)',
  572. },
  573. '30%': {
  574. transform: 'translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)',
  575. },
  576. '45%': {
  577. transform: 'translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)',
  578. },
  579. '60%': {
  580. transform: 'translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)',
  581. },
  582. '75%': {
  583. transform: 'translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)',
  584. },
  585. 'to': {
  586. transform: 'translate3d(0, 0, 0)',
  587. },
  588. },
  589. jello: {
  590. 'from, 11.1% to': {
  591. transform: 'translate3d(0, 0, 0)',
  592. },
  593. '22.2%': {
  594. transform: 'skewX(-12.5deg) skewY(-12.5deg)',
  595. },
  596. '33.3%': {
  597. transform: 'skewX(6.25deg) skewY(6.25deg)',
  598. },
  599. '44.4%': {
  600. transform: 'skewX(-3.125deg) skewY(-3.125deg)',
  601. },
  602. '55.5%': {
  603. transform: 'skewX(1.5625deg) skewY(1.5625deg)',
  604. },
  605. '66.6%': {
  606. transform: 'skewX(-0.78125deg) skewY(-0.78125deg)',
  607. },
  608. '77.7%': {
  609. transform: 'skewX(0.390625deg) skewY(0.390625deg)',
  610. },
  611. '88.8%': {
  612. transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)',
  613. },
  614. },
  615. heartBeat: {
  616. '0%': {
  617. transform: 'scale(1)',
  618. },
  619. '14%': {
  620. transform: 'scale(1.3)',
  621. },
  622. '28%': {
  623. transform: 'scale(1)',
  624. },
  625. '42%': {
  626. transform: 'scale(1.3)',
  627. },
  628. '70%': {
  629. transform: 'scale(1)',
  630. },
  631. },
  632. hinge: {
  633. '0%': {
  634. transformOrigin: 'top left',
  635. animationTimingFunction: 'ease-in-out',
  636. },
  637. '20%, 60%': {
  638. transform: 'rotate3d(0, 0, 1, 80deg)',
  639. transformOrigin: 'top left',
  640. animationTimingFunction: 'ease-in-out',
  641. },
  642. '40%, 80%': {
  643. transform: 'rotate3d(0, 0, 1, 60deg)',
  644. transformOrigin: 'top left',
  645. animationTimingFunction: 'ease-in-out',
  646. },
  647. 'to': {
  648. transform: 'translate3d(0, 700px, 0)',
  649. opacity: '0',
  650. },
  651. },
  652. jackInTheBox: {
  653. 'from': {
  654. opacity: '0',
  655. transformOrigin: 'center bottom',
  656. transform: 'scale(0.1) rotate(30deg)',
  657. },
  658. '50%': {
  659. transform: 'rotate(-10deg)',
  660. },
  661. '70%': {
  662. transform: 'rotate(3deg)',
  663. },
  664. 'to': {
  665. transform: 'scale(1)',
  666. },
  667. },
  668. // light speed
  669. lightSpeedInRight: {
  670. 'from': {
  671. opacity: '0',
  672. transform: 'translate3d(100%, 0, 0) skewX(-30deg)',
  673. },
  674. '60%': {
  675. opacity: '1',
  676. transform: 'skewX(20deg)',
  677. },
  678. '80%': {
  679. transform: 'skewX(-5deg)',
  680. },
  681. 'to': {
  682. transform: 'translate3d(0, 0, 0)',
  683. },
  684. },
  685. lightSpeedInLeft: {
  686. 'from': {
  687. opacity: '0',
  688. transform: 'translate3d(100%, 0, 0) skewX(-30deg)',
  689. },
  690. '60%': {
  691. opacity: '1',
  692. transform: 'skewX(20deg)',
  693. },
  694. '80%': {
  695. transform: 'skewX(-5deg)',
  696. },
  697. 'to': {
  698. transform: 'translate3d(0, 0, 0)',
  699. },
  700. },
  701. lightSpeedOutLeft: {
  702. 'from': {
  703. opacity: '1',
  704. },
  705. 'to': {
  706. opacity: '0',
  707. transform: 'translate3d(100%, 0, 0) skewX(30deg)',
  708. },
  709. },
  710. lightSpeedOutRight: {
  711. 'from': {
  712. opacity: '1',
  713. },
  714. 'to': {
  715. opacity: '0',
  716. transform: 'translate3d(100%, 0, 0) skewX(30deg)',
  717. },
  718. },
  719. // flip
  720. flip: {
  721. 'from': {
  722. transform: 'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)',
  723. animationTimingFunction: 'ease-out',
  724. },
  725. '40%': {
  726. transform: 'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg)',
  727. animationTimingFunction: 'ease-out',
  728. },
  729. '50%': {
  730. transform: 'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg)',
  731. animationTimingFunction: 'ease-in',
  732. },
  733. '80%': {
  734. transform: 'perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)',
  735. animationTimingFunction: 'ease-in',
  736. },
  737. 'to': {
  738. transform: 'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)',
  739. animationTimingFunction: 'ease-in',
  740. },
  741. },
  742. flipInX: {
  743. 'from': {
  744. transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
  745. animationTimingFunction: 'ease-in',
  746. opacity: '0',
  747. },
  748. '40%': {
  749. transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
  750. animationTimingFunction: 'ease-in',
  751. },
  752. '60%': {
  753. transform: 'perspective(400px) rotate3d(1, 0, 0, 10deg)',
  754. opacity: '1',
  755. },
  756. '80%': {
  757. transform: 'perspective(400px) rotate3d(1, 0, 0, -5deg)',
  758. },
  759. 'to': {
  760. transform: 'perspective(400px)',
  761. },
  762. },
  763. flipInY: {
  764. 'from': {
  765. transform: 'perspective(400px) rotate3d(0, 1, 0, 90deg)',
  766. animationTimingFunction: 'ease-in',
  767. opacity: '0',
  768. },
  769. '40%': {
  770. transform: 'perspective(400px) rotate3d(0, 1, 0, -20deg)',
  771. animationTimingFunction: 'ease-in',
  772. },
  773. '60%': {
  774. transform: 'perspective(400px) rotate3d(0, 1, 0, 10deg)',
  775. opacity: '1',
  776. },
  777. '80%': {
  778. transform: 'perspective(400px) rotate3d(0, 1, 0, -5deg)',
  779. },
  780. 'to': {
  781. transform: 'perspective(400px)',
  782. },
  783. },
  784. flipOutX: {
  785. 'from': {
  786. transform: 'perspective(400px)',
  787. },
  788. '30%': {
  789. transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
  790. opacity: '1',
  791. },
  792. 'to': {
  793. transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
  794. opacity: '0',
  795. },
  796. },
  797. flipOutY: {
  798. 'from': {
  799. transform: 'perspective(400px)',
  800. },
  801. '30%': {
  802. transform: 'perspective(400px) rotate3d(0, 1, 0, -15deg)',
  803. opacity: '1',
  804. },
  805. 'to': {
  806. transform: 'perspective(400px) rotate3d(0, 1, 0, 90deg)',
  807. opacity: '0',
  808. },
  809. },
  810. // rotate in
  811. rotateIn: {
  812. 'from': {
  813. transformOrigin: 'center',
  814. transform: 'rotate3d(0, 0, 1, -200deg)',
  815. opacity: '0',
  816. },
  817. 'to': {
  818. transformOrigin: 'center',
  819. transform: 'translate3d(0, 0, 0)',
  820. opacity: '1',
  821. },
  822. },
  823. rotateInDownLeft: {
  824. 'from': {
  825. transformOrigin: 'left bottom',
  826. transform: 'rotate3d(0, 0, 1, -45deg)',
  827. opacity: '0',
  828. },
  829. 'to': {
  830. transformOrigin: 'left bottom',
  831. transform: 'translate3d(0, 0, 0)',
  832. opacity: '1',
  833. },
  834. },
  835. rotateInDownRight: {
  836. 'from': {
  837. transformOrigin: 'right bottom',
  838. transform: 'rotate3d(0, 0, 1, 45deg)',
  839. opacity: '0',
  840. },
  841. 'to': {
  842. transformOrigin: 'right bottom',
  843. transform: 'translate3d(0, 0, 0)',
  844. opacity: '1',
  845. },
  846. },
  847. rotateInUpLeft: {
  848. 'from': {
  849. transformOrigin: 'left top',
  850. transform: 'rotate3d(0, 0, 1, 45deg)',
  851. opacity: '0',
  852. },
  853. 'to': {
  854. transformOrigin: 'left top',
  855. transform: 'translate3d(0, 0, 0)',
  856. opacity: '1',
  857. },
  858. },
  859. rotateInUpRight: {
  860. 'from': {
  861. transformOrigin: 'right bottom',
  862. transform: 'rotate3d(0, 0, 1, -90deg)',
  863. opacity: '0',
  864. },
  865. 'to': {
  866. transformOrigin: 'right bottom',
  867. transform: 'translate3d(0, 0, 0)',
  868. opacity: '1',
  869. },
  870. },
  871. rotateOut: {
  872. 'from': {
  873. transformOrigin: 'center',
  874. opacity: '1',
  875. },
  876. 'to': {
  877. transformOrigin: 'center',
  878. transform: 'rotate3d(0, 0, 1, 200deg)',
  879. opacity: '0',
  880. },
  881. },
  882. rotateOutDownLeft: {
  883. 'from': {
  884. transformOrigin: 'left bottom',
  885. opacity: '1',
  886. },
  887. 'to': {
  888. transformOrigin: 'left bottom',
  889. transform: 'rotate3d(0, 0, 1, 45deg)',
  890. opacity: '0',
  891. },
  892. },
  893. rotateOutDownRight: {
  894. 'from': {
  895. transformOrigin: 'right bottom',
  896. opacity: '1',
  897. },
  898. 'to': {
  899. transformOrigin: 'right bottom',
  900. transform: 'rotate3d(0, 0, 1, -45deg)',
  901. opacity: '0',
  902. },
  903. },
  904. rotateOutUpLeft: {
  905. 'from': {
  906. transformOrigin: 'left bottom',
  907. opacity: '1',
  908. },
  909. 'to': {
  910. transformOrigin: 'left bottom',
  911. transform: 'rotate3d(0, 0, 1, -45deg)',
  912. opacity: '0',
  913. },
  914. },
  915. rotateOutUpRight: {
  916. 'from': {
  917. transformOrigin: 'right bottom',
  918. opacity: '1',
  919. },
  920. 'to': {
  921. transformOrigin: 'left bottom',
  922. transform: 'rotate3d(0, 0, 1, 90deg)',
  923. opacity: '0',
  924. },
  925. },
  926. // roll
  927. rollIn: {
  928. 'from': {
  929. opacity: '0',
  930. transform: 'translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)',
  931. },
  932. 'to': {
  933. opacity: '1',
  934. transform: 'translate3d(0, 0, 0)',
  935. },
  936. },
  937. rollOut: {
  938. 'from': {
  939. opacity: '1',
  940. },
  941. 'to': {
  942. opacity: '0',
  943. transform: 'translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)',
  944. },
  945. },
  946. // zoom in
  947. zoomIn: {
  948. 'from': {
  949. opacity: '0',
  950. transform: 'scale3d(0.3, 0.3, 0.3)',
  951. },
  952. '50%': {
  953. opacity: '1',
  954. },
  955. },
  956. zoomInDown: {
  957. 'from': {
  958. opacity: '0',
  959. transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)',
  960. animationTimingFunction: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
  961. },
  962. '60%': {
  963. opacity: '1',
  964. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)',
  965. animationTimingFunction: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
  966. },
  967. },
  968. zoomInLeft: {
  969. 'from': {
  970. opacity: '0',
  971. transform: 'scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)',
  972. animationTimingFunction: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
  973. },
  974. '60%': {
  975. opacity: '1',
  976. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)',
  977. animationTimingFunction: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
  978. },
  979. },
  980. zoomInRight: {
  981. 'from': {
  982. opacity: '0',
  983. transform: 'scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)',
  984. animationTimingFunction: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
  985. },
  986. '60%': {
  987. opacity: '1',
  988. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)',
  989. animationTimingFunction: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
  990. },
  991. },
  992. zoomInUp: {
  993. 'from': {
  994. opacity: '0',
  995. transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)',
  996. animationTimingFunction: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
  997. },
  998. '60%': {
  999. opacity: '1',
  1000. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)',
  1001. animationTimingFunction: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
  1002. },
  1003. },
  1004. // bounce in
  1005. bounceIn: {
  1006. 'from, 20%, 40%, 60%, 80%, to': {
  1007. animationTimingFunction: 'ease-in-out',
  1008. },
  1009. '0%': {
  1010. opacity: '0',
  1011. transform: 'scale3d(0.3, 0.3, 0.3)',
  1012. },
  1013. '20%': {
  1014. transform: 'scale3d(1.1, 1.1, 1.1)',
  1015. },
  1016. '40%': {
  1017. transform: 'scale3d(0.9, 0.9, 0.9)',
  1018. },
  1019. '60%': {
  1020. transform: 'scale3d(1.03, 1.03, 1.03)',
  1021. opacity: '1',
  1022. },
  1023. '80%': {
  1024. transform: 'scale3d(0.97, 0.97, 0.97)',
  1025. },
  1026. 'to': {
  1027. opacity: '1',
  1028. transform: 'scale3d(1, 1, 1)',
  1029. },
  1030. },
  1031. bounceInDown: {
  1032. 'from, 60%, 75%, 90%, to': {
  1033. animationTimingFunction: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  1034. },
  1035. '0%': {
  1036. opacity: '0',
  1037. transform: 'translate3d(0, -3000px, 0)',
  1038. },
  1039. '60%': {
  1040. opacity: '1',
  1041. transform: 'translate3d(0, 25px, 0)',
  1042. },
  1043. '75%': {
  1044. transform: 'translate3d(0, -10px, 0)',
  1045. },
  1046. '90%': {
  1047. transform: 'translate3d(0, 5px, 0)',
  1048. },
  1049. 'to': {
  1050. transform: 'translate3d(0, 0, 0)',
  1051. },
  1052. },
  1053. bounceInLeft: {
  1054. 'from, 60%, 75%, 90%, to': {
  1055. animationTimingFunction: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  1056. },
  1057. '0%': {
  1058. opacity: '0',
  1059. transform: 'translate3d(-3000px, 0, 0)',
  1060. },
  1061. '60%': {
  1062. opacity: '1',
  1063. transform: 'translate3d(25px, 0, 0)',
  1064. },
  1065. '75%': {
  1066. transform: 'translate3d(-10px, 0, 0)',
  1067. },
  1068. '90%': {
  1069. transform: 'translate3d(5px, 0, 0)',
  1070. },
  1071. 'to': {
  1072. transform: 'translate3d(0, 0, 0)',
  1073. },
  1074. },
  1075. bounceInRight: {
  1076. 'from, 60%, 75%, 90%, to': {
  1077. animationTimingFunction: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  1078. },
  1079. '0%': {
  1080. opacity: '0',
  1081. transform: 'translate3d(3000px, 0, 0)',
  1082. },
  1083. '60%': {
  1084. opacity: '1',
  1085. transform: 'translate3d(-25px, 0, 0)',
  1086. },
  1087. '75%': {
  1088. transform: 'translate3d(10px, 0, 0)',
  1089. },
  1090. '90%': {
  1091. transform: 'translate3d(-5px, 0, 0)',
  1092. },
  1093. 'to': {
  1094. transform: 'translate3d(0, 0, 0)',
  1095. },
  1096. },
  1097. bounceInUp: {
  1098. 'from, 60%, 75%, 90%, to': {
  1099. animationTimingFunction: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
  1100. },
  1101. '0%': {
  1102. opacity: '0',
  1103. transform: 'translate3d(0, 3000px, 0)',
  1104. },
  1105. '60%': {
  1106. opacity: '1',
  1107. transform: 'translate3d(0, -20px, 0)',
  1108. },
  1109. '75%': {
  1110. transform: 'translate3d(0, 10px, 0)',
  1111. },
  1112. '90%': {
  1113. transform: 'translate3d(0, -5px, 0)',
  1114. },
  1115. 'to': {
  1116. transform: 'translate3d(0, 0, 0)',
  1117. },
  1118. },
  1119. // bounce out
  1120. bounceOut: {
  1121. '20%': {
  1122. transform: 'scale3d(0.9, 0.9, 0.9)',
  1123. },
  1124. '50%, 55%': {
  1125. opacity: '1',
  1126. transform: 'scale3d(1.1, 1.1, 1.1)',
  1127. },
  1128. 'to': {
  1129. opacity: '0',
  1130. transform: 'scale3d(0.3, 0.3, 0.3)',
  1131. },
  1132. },
  1133. bounceOutDown: {
  1134. '20%': {
  1135. transform: 'translate3d(0, 10px, 0)',
  1136. },
  1137. '40%, 45%': {
  1138. opacity: '1',
  1139. transform: 'translate3d(0, -20px, 0)',
  1140. },
  1141. 'to': {
  1142. opacity: '0',
  1143. transform: 'translate3d(0, 2000px, 0)',
  1144. },
  1145. },
  1146. bounceOutLeft: {
  1147. '20%': {
  1148. opacity: '1',
  1149. transform: 'translate3d(20px, 0, 0)',
  1150. },
  1151. 'to': {
  1152. opacity: '0',
  1153. transform: 'translate3d(-2000px, 0, 0)',
  1154. },
  1155. },
  1156. bounceOutRight: {
  1157. '20%': {
  1158. opacity: '1',
  1159. transform: 'translate3d(-20px, 0, 0)',
  1160. },
  1161. 'to': {
  1162. opacity: '0',
  1163. transform: 'translate3d(2000px, 0, 0)',
  1164. },
  1165. },
  1166. bounceOutUp: {
  1167. '20%': {
  1168. transform: 'translate3d(0, -10px, 0)',
  1169. },
  1170. '40%, 45%': {
  1171. opacity: '1',
  1172. transform: 'translate3d(0, 20px, 0)',
  1173. },
  1174. 'to': {
  1175. opacity: '0',
  1176. transform: 'translate3d(0, -2000px, 0)',
  1177. },
  1178. },
  1179. // zoom out
  1180. zoomOut: {
  1181. 'from': {
  1182. opacity: '1',
  1183. },
  1184. '50%': {
  1185. opacity: '0',
  1186. transform: 'scale3d(0.3, 0.3, 0.3)',
  1187. },
  1188. 'to': {
  1189. opacity: '0',
  1190. },
  1191. },
  1192. zoomOutDown: {
  1193. '40%': {
  1194. opacity: '1',
  1195. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)',
  1196. animationTimingFunction: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
  1197. },
  1198. 'to': {
  1199. opacity: '0',
  1200. transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)',
  1201. transformOrigin: 'center bottom',
  1202. animationTimingFunction: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
  1203. },
  1204. },
  1205. zoomOutLeft: {
  1206. '40%': {
  1207. opacity: '1',
  1208. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)',
  1209. },
  1210. 'to': {
  1211. opacity: '0',
  1212. transform: 'scale(0.1) translate3d(-2000px, 0, 0)',
  1213. transformOrigin: 'left center',
  1214. },
  1215. },
  1216. zoomOutRight: {
  1217. '40%': {
  1218. opacity: '1',
  1219. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)',
  1220. },
  1221. 'to': {
  1222. opacity: '0',
  1223. transform: 'scale(0.1) translate3d(2000px, 0, 0)',
  1224. transformOrigin: 'right center',
  1225. },
  1226. },
  1227. zoomOutUp: {
  1228. '40%': {
  1229. opacity: '1',
  1230. transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)',
  1231. animationTimingFunction: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
  1232. },
  1233. 'to': {
  1234. opacity: '0',
  1235. transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)',
  1236. transformOrigin: 'center bottom',
  1237. animationTimingFunction: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
  1238. },
  1239. },
  1240. // slide in
  1241. slideInDown: {
  1242. 'from': {
  1243. transform: 'translate3d(0, -100%, 0)',
  1244. visibility: 'visible',
  1245. },
  1246. 'to': {
  1247. transform: 'translate3d(0, 0, 0)',
  1248. },
  1249. },
  1250. slideInLeft: {
  1251. 'from': {
  1252. transform: 'translate3d(-100%, 0, 0)',
  1253. visibility: 'visible',
  1254. },
  1255. 'to': {
  1256. transform: 'translate3d(0, 0, 0)',
  1257. },
  1258. },
  1259. slideInRight: {
  1260. 'from': {
  1261. transform: 'translate3d(100%, 0, 0)',
  1262. visibility: 'visible',
  1263. },
  1264. 'to': {
  1265. transform: 'translate3d(0, 0, 0)',
  1266. },
  1267. },
  1268. slideInUp: {
  1269. 'from': {
  1270. transform: 'translate3d(0, 100%, 0)',
  1271. visibility: 'visible',
  1272. },
  1273. 'to': {
  1274. transform: 'translate3d(0, 0, 0)',
  1275. },
  1276. },
  1277. // slide out
  1278. slideOutDown: {
  1279. 'from': {
  1280. transform: 'translate3d(0, 0, 0)',
  1281. },
  1282. 'to': {
  1283. visibility: 'hidden',
  1284. transform: 'translate3d(0, 100%, 0)',
  1285. },
  1286. },
  1287. slideOutLeft: {
  1288. 'from': {
  1289. transform: 'translate3d(0, 0, 0)',
  1290. },
  1291. 'to': {
  1292. visibility: 'hidden',
  1293. transform: 'translate3d(-100%, 0, 0)',
  1294. },
  1295. },
  1296. slideOutRight: {
  1297. 'from': {
  1298. transform: 'translate3d(0, 0, 0)',
  1299. },
  1300. 'to': {
  1301. visibility: 'hidden',
  1302. transform: 'translate3d(100%, 0, 0)',
  1303. },
  1304. },
  1305. slideOutUp: {
  1306. 'from': {
  1307. transform: 'translate3d(0, 0, 0)',
  1308. },
  1309. 'to': {
  1310. visibility: 'hidden',
  1311. transform: 'translate3d(0, -100%, 0)',
  1312. },
  1313. },
  1314. // fade in
  1315. fadeIn: {
  1316. 'from': {
  1317. opacity: '0',
  1318. },
  1319. 'to': {
  1320. opacity: '1',
  1321. },
  1322. },
  1323. fadeInDown: {
  1324. 'from': {
  1325. opacity: '0',
  1326. transform: 'translate3d(0, -100%, 0)',
  1327. },
  1328. 'to': {
  1329. opacity: '1',
  1330. transform: 'translate3d(0, 0, 0)',
  1331. },
  1332. },
  1333. fadeInDownBig: {
  1334. 'from': {
  1335. opacity: '0',
  1336. transform: 'translate3d(0, -2000px, 0)',
  1337. },
  1338. 'to': {
  1339. opacity: '1',
  1340. transform: 'translate3d(0, 0, 0)',
  1341. },
  1342. },
  1343. fadeInLeft: {
  1344. 'from': {
  1345. opacity: '0',
  1346. transform: 'translate3d(-100%, 0, 0)',
  1347. },
  1348. 'to': {
  1349. opacity: '1',
  1350. transform: 'translate3d(0, 0, 0)',
  1351. },
  1352. },
  1353. fadeInLeftBig: {
  1354. 'from': {
  1355. opacity: '0',
  1356. transform: 'translate3d(-2000px, 0, 0)',
  1357. },
  1358. 'to': {
  1359. opacity: '1',
  1360. transform: 'translate3d(0, 0, 0)',
  1361. },
  1362. },
  1363. fadeInRight: {
  1364. 'from': {
  1365. opacity: '0',
  1366. transform: 'translate3d(100%, 0, 0)',
  1367. },
  1368. 'to': {
  1369. opacity: '1',
  1370. transform: 'translate3d(0, 0, 0)',
  1371. },
  1372. },
  1373. fadeInRightBig: {
  1374. 'from': {
  1375. opacity: '0',
  1376. transform: 'translate3d(2000px, 0, 0)',
  1377. },
  1378. 'to': {
  1379. opacity: '1',
  1380. transform: 'translate3d(0, 0, 0)',
  1381. },
  1382. },
  1383. fadeInUp: {
  1384. 'from': {
  1385. opacity: '0',
  1386. transform: 'translate3d(0, 100%, 0)',
  1387. },
  1388. 'to': {
  1389. opacity: '1',
  1390. transform: 'translate3d(0, 0, 0)',
  1391. },
  1392. },
  1393. fadeInUpBig: {
  1394. 'from': {
  1395. opacity: '0',
  1396. transform: 'translate3d(0, 2000px, 0)',
  1397. },
  1398. 'to': {
  1399. opacity: '1',
  1400. transform: 'translate3d(0, 0, 0)',
  1401. },
  1402. },
  1403. fadeInTopLeft: {
  1404. 'from': {
  1405. opacity: '0',
  1406. transform: 'translate3d(-100%, -100%, 0)',
  1407. },
  1408. 'to': {
  1409. opacity: '1',
  1410. transform: 'translate3d(0, 0, 0)',
  1411. },
  1412. },
  1413. fadeInTopRight: {
  1414. 'from': {
  1415. opacity: '0',
  1416. transform: 'translate3d(100%, -100%, 0)',
  1417. },
  1418. 'to': {
  1419. opacity: '1',
  1420. transform: 'translate3d(0, 0, 0)',
  1421. },
  1422. },
  1423. fadeInBottomLeft: {
  1424. 'from': {
  1425. opacity: '0',
  1426. transform: 'translate3d(-100%, 100%, 0)',
  1427. },
  1428. 'to': {
  1429. opacity: '1',
  1430. transform: 'translate3d(0, 0, 0)',
  1431. },
  1432. },
  1433. fadeInBottomRight: {
  1434. 'from': {
  1435. opacity: '0',
  1436. transform: 'translate3d(100%, 100%, 0)',
  1437. },
  1438. 'to': {
  1439. opacity: '1',
  1440. transform: 'translate3d(0, 0, 0)',
  1441. },
  1442. },
  1443. // fade out
  1444. fadeOut: {
  1445. 'from': {
  1446. opacity: '1',
  1447. },
  1448. 'to': {
  1449. opacity: '0',
  1450. },
  1451. },
  1452. fadeOutDown: {
  1453. 'from': {
  1454. opacity: '1',
  1455. },
  1456. 'to': {
  1457. opacity: '0',
  1458. transform: 'translate3d(0, 100%, 0)',
  1459. },
  1460. },
  1461. fadeOutDownBig: {
  1462. 'from': {
  1463. opacity: '1',
  1464. },
  1465. 'to': {
  1466. opacity: '0',
  1467. transform: 'translate3d(0, 2000px, 0)',
  1468. },
  1469. },
  1470. fadeOutLeft: {
  1471. 'from': {
  1472. opacity: '1',
  1473. },
  1474. 'to': {
  1475. opacity: '0',
  1476. transform: 'translate3d(-100%, 0, 0)',
  1477. },
  1478. },
  1479. fadeOutLeftBig: {
  1480. 'from': {
  1481. opacity: '1',
  1482. },
  1483. 'to': {
  1484. opacity: '0',
  1485. transform: 'translate3d(-2000px, 0, 0)',
  1486. },
  1487. },
  1488. fadeOutRight: {
  1489. 'from': {
  1490. opacity: '1',
  1491. },
  1492. 'to': {
  1493. opacity: '0',
  1494. transform: 'translate3d(100%, 0, 0)',
  1495. },
  1496. },
  1497. fadeOutRightBig: {
  1498. 'from': {
  1499. opacity: '1',
  1500. },
  1501. 'to': {
  1502. opacity: '0',
  1503. transform: 'translate3d(2000px, 0, 0)',
  1504. },
  1505. },
  1506. fadeOutUp: {
  1507. 'from': {
  1508. opacity: '1',
  1509. },
  1510. 'to': {
  1511. opacity: '0',
  1512. transform: 'translate3d(0, -100%, 0)',
  1513. },
  1514. },
  1515. fadeOutUpBig: {
  1516. 'from': {
  1517. opacity: '1',
  1518. },
  1519. 'to': {
  1520. opacity: '0',
  1521. transform: 'translate3d(0, -2000px, 0)',
  1522. },
  1523. },
  1524. fadeOutTopLeft: {
  1525. 'from': {
  1526. opacity: '1',
  1527. transform: 'translate3d(0, 0, 0)',
  1528. },
  1529. 'to': {
  1530. opacity: '0',
  1531. transform: 'translate3d(-100%, -100%, 0)',
  1532. },
  1533. },
  1534. fadeOutTopRight: {
  1535. 'from': {
  1536. opacity: '1',
  1537. transform: 'translate3d(0, 0, 0)',
  1538. },
  1539. 'to': {
  1540. opacity: '0',
  1541. transform: 'translate3d(100%, -100%, 0)',
  1542. },
  1543. },
  1544. fadeOutBottomLeft: {
  1545. 'from': {
  1546. opacity: '1',
  1547. transform: 'translate3d(0, 0, 0)',
  1548. },
  1549. 'to': {
  1550. opacity: '0',
  1551. transform: 'translate3d(-100%, 100%, 0)',
  1552. },
  1553. },
  1554. fadeOutBottomRight: {
  1555. 'from': {
  1556. opacity: '1',
  1557. transform: 'translate3d(0, 0, 0)',
  1558. },
  1559. 'to': {
  1560. opacity: '0',
  1561. transform: 'translate3d(100%, 100%, 0)',
  1562. },
  1563. },
  1564. // back in
  1565. backInUp: {
  1566. '0%': {
  1567. opacity: '0.7',
  1568. transform: 'translateY(1200px) scale(0.7)',
  1569. },
  1570. '80%': {
  1571. opacity: '0.7',
  1572. transform: 'translateY(0px) scale(0.7)',
  1573. },
  1574. '100%': {
  1575. opacity: '1',
  1576. transform: 'scale(1)',
  1577. },
  1578. },
  1579. backInDown: {
  1580. '0%': {
  1581. opacity: '0.7',
  1582. transform: 'translateY(-1200px) scale(0.7)',
  1583. },
  1584. '80%': {
  1585. opacity: '0.7',
  1586. transform: 'translateY(0px) scale(0.7)',
  1587. },
  1588. '100%': {
  1589. opacity: '1',
  1590. transform: 'scale(1)',
  1591. },
  1592. },
  1593. backInLeft: {
  1594. '0%': {
  1595. opacity: '0.7',
  1596. transform: 'translateX(-2000px) scale(0.7)',
  1597. },
  1598. '80%': {
  1599. opacity: '0.7',
  1600. transform: 'translateX(0px) scale(0.7)',
  1601. },
  1602. '100%': {
  1603. opacity: '1',
  1604. transform: 'scale(1)',
  1605. },
  1606. },
  1607. backInRight: {
  1608. '0%': {
  1609. opacity: '0.7',
  1610. transform: 'translateX(2000px) scale(0.7)',
  1611. },
  1612. '80%': {
  1613. opacity: '0.7',
  1614. transform: 'translateY(0px) scale(0.7)',
  1615. },
  1616. '100%': {
  1617. opacity: '1',
  1618. transform: 'scale(1)',
  1619. },
  1620. },
  1621. // back out
  1622. backOutUp: {
  1623. '0%': {
  1624. opacity: '1',
  1625. transform: 'scale(1)',
  1626. },
  1627. '80%': {
  1628. opacity: '0.7',
  1629. transform: 'translateY(0px) scale(0.7)',
  1630. },
  1631. '100%': {
  1632. opacity: '0.7',
  1633. transform: 'translateY(-700px) scale(0.7)',
  1634. },
  1635. },
  1636. backOutDown: {
  1637. '0%': {
  1638. opacity: '1',
  1639. transform: 'scale(1)',
  1640. },
  1641. '80%': {
  1642. opacity: '0.7',
  1643. transform: 'translateY(0px) scale(0.7)',
  1644. },
  1645. '100%': {
  1646. opacity: '0.7',
  1647. transform: 'translateY(700px) scale(0.7)',
  1648. },
  1649. },
  1650. backOutLeft: {
  1651. '0%': {
  1652. opacity: '1',
  1653. transform: 'scale(1)',
  1654. },
  1655. '80%': {
  1656. opacity: '0.7',
  1657. transform: 'translateX(-2000px) scale(0.7)',
  1658. },
  1659. '100%': {
  1660. opacity: '0.7',
  1661. transform: 'translateY(-700px) scale(0.7)',
  1662. },
  1663. },
  1664. backOutRight: {
  1665. '0%': {
  1666. opacity: '1',
  1667. transform: 'scale(1)',
  1668. },
  1669. '80%': {
  1670. opacity: '0.7',
  1671. transform: 'translateY(0px) scale(0.7)',
  1672. },
  1673. '100%': {
  1674. opacity: '0.7',
  1675. transform: 'translateX(2000px) scale(0.7)',
  1676. },
  1677. },
  1678. };
  1679. var pseudoClassNames = [
  1680. 'hover',
  1681. 'focus',
  1682. 'active',
  1683. 'visited',
  1684. 'link',
  1685. 'target',
  1686. 'focus-visible',
  1687. 'focus-within',
  1688. 'checked',
  1689. 'default',
  1690. 'disabled',
  1691. 'enabled',
  1692. 'indeterminate',
  1693. 'invalid',
  1694. 'valid',
  1695. 'optional',
  1696. 'required',
  1697. 'placeholder-shown',
  1698. 'read-only',
  1699. 'read-write',
  1700. 'first-of-type',
  1701. 'last-of-type',
  1702. 'only-child',
  1703. 'only-of-type',
  1704. 'root',
  1705. 'empty',
  1706. ];
  1707. var variantOrder = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], pseudoClassNames, true), [
  1708. 'not-checked',
  1709. 'not-disabled',
  1710. 'not-first-of-type',
  1711. 'not-last-of-type',
  1712. 'first',
  1713. 'not-first',
  1714. 'last',
  1715. 'not-last',
  1716. 'not-only-child',
  1717. 'not-only-of-type',
  1718. 'even',
  1719. 'odd',
  1720. 'even-of-type',
  1721. 'odd-of-type',
  1722. 'before',
  1723. 'after',
  1724. 'first-letter',
  1725. 'first-line',
  1726. 'file-selector-button',
  1727. 'file',
  1728. 'selection',
  1729. 'marker',
  1730. 'svg',
  1731. 'all',
  1732. 'children',
  1733. 'siblings',
  1734. 'sibling',
  1735. 'ltr',
  1736. 'rtl'
  1737. ], false), pseudoClassNames.map(function (pseudoClassName) { return "group-".concat(pseudoClassName); }), true), [
  1738. 'motion-safe',
  1739. 'motion-reduce'
  1740. ], false), pseudoClassNames.map(function (pseudoClassName) { return "peer-".concat(pseudoClassName); }), true), pseudoClassNames.map(function (pseudoClassName) { return "peer-not-".concat(pseudoClassName); }), true);
  1741. var layerOrder;
  1742. (function (layerOrder) {
  1743. layerOrder[layerOrder["base"] = 10] = "base";
  1744. layerOrder[layerOrder["components"] = 150] = "components";
  1745. layerOrder[layerOrder["shortcuts"] = 160] = "shortcuts";
  1746. layerOrder[layerOrder["utilities"] = 20000] = "utilities";
  1747. })(layerOrder || (layerOrder = {}));
  1748. var pluginOrder;
  1749. (function (pluginOrder) {
  1750. pluginOrder[pluginOrder["columns"] = 80] = "columns";
  1751. pluginOrder[pluginOrder["container"] = 100] = "container";
  1752. pluginOrder[pluginOrder["space"] = 200] = "space";
  1753. pluginOrder[pluginOrder["divideWidth"] = 300] = "divideWidth";
  1754. pluginOrder[pluginOrder["divideColor"] = 400] = "divideColor";
  1755. pluginOrder[pluginOrder["divideStyle"] = 500] = "divideStyle";
  1756. pluginOrder[pluginOrder["divideOpacity"] = 600] = "divideOpacity";
  1757. pluginOrder[pluginOrder["accessibility"] = 700] = "accessibility";
  1758. pluginOrder[pluginOrder["appearance"] = 800] = "appearance";
  1759. pluginOrder[pluginOrder["backgroundAttachment"] = 900] = "backgroundAttachment";
  1760. pluginOrder[pluginOrder["backgroundClip"] = 1000] = "backgroundClip";
  1761. pluginOrder[pluginOrder["backgroundColor"] = 1100] = "backgroundColor";
  1762. pluginOrder[pluginOrder["backgroundImage"] = 1200] = "backgroundImage";
  1763. pluginOrder[pluginOrder["gradientColorStops"] = 1300] = "gradientColorStops";
  1764. pluginOrder[pluginOrder["backgroundOpacity"] = 1400] = "backgroundOpacity";
  1765. pluginOrder[pluginOrder["backgroundPosition"] = 1500] = "backgroundPosition";
  1766. pluginOrder[pluginOrder["backgroundRepeat"] = 1600] = "backgroundRepeat";
  1767. pluginOrder[pluginOrder["backgroundSize"] = 1700] = "backgroundSize";
  1768. pluginOrder[pluginOrder["backgroundOrigin"] = 1750] = "backgroundOrigin";
  1769. pluginOrder[pluginOrder["borderCollapse"] = 1800] = "borderCollapse";
  1770. pluginOrder[pluginOrder["borderColor"] = 1900] = "borderColor";
  1771. pluginOrder[pluginOrder["borderOpacity"] = 2000] = "borderOpacity";
  1772. pluginOrder[pluginOrder["borderRadius"] = 2100] = "borderRadius";
  1773. pluginOrder[pluginOrder["borderStyle"] = 2200] = "borderStyle";
  1774. pluginOrder[pluginOrder["borderWidth"] = 2300] = "borderWidth";
  1775. pluginOrder[pluginOrder["boxDecorationBreak"] = 2350] = "boxDecorationBreak";
  1776. pluginOrder[pluginOrder["boxSizing"] = 2400] = "boxSizing";
  1777. pluginOrder[pluginOrder["cursor"] = 2500] = "cursor";
  1778. pluginOrder[pluginOrder["captionSide"] = 2550] = "captionSide";
  1779. pluginOrder[pluginOrder["emptyCells"] = 2560] = "emptyCells";
  1780. pluginOrder[pluginOrder["display"] = 2600] = "display";
  1781. pluginOrder[pluginOrder["flexBasis"] = 2699] = "flexBasis";
  1782. pluginOrder[pluginOrder["flexDirection"] = 2700] = "flexDirection";
  1783. pluginOrder[pluginOrder["flexWrap"] = 2800] = "flexWrap";
  1784. pluginOrder[pluginOrder["placeItems"] = 2900] = "placeItems";
  1785. pluginOrder[pluginOrder["placeContent"] = 3000] = "placeContent";
  1786. pluginOrder[pluginOrder["placeSelf"] = 3100] = "placeSelf";
  1787. pluginOrder[pluginOrder["alignItems"] = 3200] = "alignItems";
  1788. pluginOrder[pluginOrder["alignContent"] = 3300] = "alignContent";
  1789. pluginOrder[pluginOrder["alignSelf"] = 3400] = "alignSelf";
  1790. pluginOrder[pluginOrder["justifyItems"] = 3500] = "justifyItems";
  1791. pluginOrder[pluginOrder["justifyContent"] = 3600] = "justifyContent";
  1792. pluginOrder[pluginOrder["justifySelf"] = 3700] = "justifySelf";
  1793. pluginOrder[pluginOrder["flex"] = 3800] = "flex";
  1794. pluginOrder[pluginOrder["flexGrow"] = 3900] = "flexGrow";
  1795. pluginOrder[pluginOrder["flexShrink"] = 4000] = "flexShrink";
  1796. pluginOrder[pluginOrder["order"] = 4100] = "order";
  1797. pluginOrder[pluginOrder["float"] = 4200] = "float";
  1798. pluginOrder[pluginOrder["clear"] = 4300] = "clear";
  1799. pluginOrder[pluginOrder["fontFamily"] = 4400] = "fontFamily";
  1800. pluginOrder[pluginOrder["fontWeight"] = 4500] = "fontWeight";
  1801. pluginOrder[pluginOrder["height"] = 4600] = "height";
  1802. pluginOrder[pluginOrder["fontSize"] = 4700] = "fontSize";
  1803. pluginOrder[pluginOrder["lineHeight"] = 4800] = "lineHeight";
  1804. pluginOrder[pluginOrder["listStylePosition"] = 4900] = "listStylePosition";
  1805. pluginOrder[pluginOrder["listStyleType"] = 5000] = "listStyleType";
  1806. pluginOrder[pluginOrder["margin"] = 5100] = "margin";
  1807. pluginOrder[pluginOrder["maxHeight"] = 5200] = "maxHeight";
  1808. pluginOrder[pluginOrder["maxWidth"] = 5300] = "maxWidth";
  1809. pluginOrder[pluginOrder["minHeight"] = 5400] = "minHeight";
  1810. pluginOrder[pluginOrder["minWidth"] = 5500] = "minWidth";
  1811. pluginOrder[pluginOrder["objectFit"] = 5600] = "objectFit";
  1812. pluginOrder[pluginOrder["objectPosition"] = 5700] = "objectPosition";
  1813. pluginOrder[pluginOrder["opacity"] = 5800] = "opacity";
  1814. pluginOrder[pluginOrder["outline"] = 5900] = "outline";
  1815. pluginOrder[pluginOrder["overflow"] = 6000] = "overflow";
  1816. pluginOrder[pluginOrder["overscrollBehavior"] = 6100] = "overscrollBehavior";
  1817. pluginOrder[pluginOrder["padding"] = 6200] = "padding";
  1818. pluginOrder[pluginOrder["placeholderColor"] = 6300] = "placeholderColor";
  1819. pluginOrder[pluginOrder["placeholderOpacity"] = 6400] = "placeholderOpacity";
  1820. pluginOrder[pluginOrder["caretColor"] = 6450] = "caretColor";
  1821. pluginOrder[pluginOrder["caretOpacity"] = 6460] = "caretOpacity";
  1822. pluginOrder[pluginOrder["tabSize"] = 6470] = "tabSize";
  1823. pluginOrder[pluginOrder["pointerEvents"] = 6500] = "pointerEvents";
  1824. pluginOrder[pluginOrder["position"] = 6600] = "position";
  1825. pluginOrder[pluginOrder["inset"] = 6700] = "inset";
  1826. pluginOrder[pluginOrder["resize"] = 6800] = "resize";
  1827. pluginOrder[pluginOrder["boxShadow"] = 6900] = "boxShadow";
  1828. pluginOrder[pluginOrder["boxShadowColor"] = 6950] = "boxShadowColor";
  1829. pluginOrder[pluginOrder["ringWidth"] = 7000] = "ringWidth";
  1830. pluginOrder[pluginOrder["ringOffsetColor"] = 7100] = "ringOffsetColor";
  1831. pluginOrder[pluginOrder["ringOffsetWidth"] = 7200] = "ringOffsetWidth";
  1832. pluginOrder[pluginOrder["ringColor"] = 7300] = "ringColor";
  1833. pluginOrder[pluginOrder["ringOpacity"] = 7400] = "ringOpacity";
  1834. pluginOrder[pluginOrder["fill"] = 7500] = "fill";
  1835. pluginOrder[pluginOrder["stroke"] = 7600] = "stroke";
  1836. pluginOrder[pluginOrder["strokeWidth"] = 7700] = "strokeWidth";
  1837. pluginOrder[pluginOrder["strokeDashArray"] = 7750] = "strokeDashArray";
  1838. pluginOrder[pluginOrder["strokeDashOffset"] = 7760] = "strokeDashOffset";
  1839. pluginOrder[pluginOrder["tableLayout"] = 7800] = "tableLayout";
  1840. pluginOrder[pluginOrder["textAlign"] = 7900] = "textAlign";
  1841. pluginOrder[pluginOrder["textColor"] = 8000] = "textColor";
  1842. pluginOrder[pluginOrder["textOpacity"] = 8100] = "textOpacity";
  1843. pluginOrder[pluginOrder["textOverflow"] = 8200] = "textOverflow";
  1844. pluginOrder[pluginOrder["textShadow"] = 8250] = "textShadow";
  1845. pluginOrder[pluginOrder["fontStyle"] = 8300] = "fontStyle";
  1846. pluginOrder[pluginOrder["textTransform"] = 8400] = "textTransform";
  1847. pluginOrder[pluginOrder["textDecorationStyle"] = 8450] = "textDecorationStyle";
  1848. pluginOrder[pluginOrder["textDecorationLength"] = 8455] = "textDecorationLength";
  1849. pluginOrder[pluginOrder["textDecorationColor"] = 8460] = "textDecorationColor";
  1850. pluginOrder[pluginOrder["textDecorationOpacity"] = 8470] = "textDecorationOpacity";
  1851. pluginOrder[pluginOrder["textDecorationOffset"] = 8480] = "textDecorationOffset";
  1852. pluginOrder[pluginOrder["textDecorationThickness"] = 8490] = "textDecorationThickness";
  1853. pluginOrder[pluginOrder["textDecoration"] = 8500] = "textDecoration";
  1854. pluginOrder[pluginOrder["textIndent"] = 8550] = "textIndent";
  1855. pluginOrder[pluginOrder["textStrokeColor"] = 8560] = "textStrokeColor";
  1856. pluginOrder[pluginOrder["textStrokeWidth"] = 8570] = "textStrokeWidth";
  1857. pluginOrder[pluginOrder["content"] = 8580] = "content";
  1858. pluginOrder[pluginOrder["fontSmoothing"] = 8600] = "fontSmoothing";
  1859. pluginOrder[pluginOrder["fontVariantNumeric"] = 8700] = "fontVariantNumeric";
  1860. pluginOrder[pluginOrder["letterSpacing"] = 8800] = "letterSpacing";
  1861. pluginOrder[pluginOrder["userSelect"] = 8900] = "userSelect";
  1862. pluginOrder[pluginOrder["verticalAlign"] = 9000] = "verticalAlign";
  1863. pluginOrder[pluginOrder["visibility"] = 9100] = "visibility";
  1864. pluginOrder[pluginOrder["backfaceVisibility"] = 9150] = "backfaceVisibility";
  1865. pluginOrder[pluginOrder["whitespace"] = 9200] = "whitespace";
  1866. pluginOrder[pluginOrder["wordBreak"] = 9300] = "wordBreak";
  1867. pluginOrder[pluginOrder["writingMode"] = 9340] = "writingMode";
  1868. pluginOrder[pluginOrder["hyphens"] = 9350] = "hyphens";
  1869. pluginOrder[pluginOrder["width"] = 9400] = "width";
  1870. pluginOrder[pluginOrder["zIndex"] = 9500] = "zIndex";
  1871. pluginOrder[pluginOrder["isolation"] = 9550] = "isolation";
  1872. pluginOrder[pluginOrder["gap"] = 9600] = "gap";
  1873. pluginOrder[pluginOrder["gridAutoFlow"] = 9700] = "gridAutoFlow";
  1874. pluginOrder[pluginOrder["gridTemplateColumns"] = 9800] = "gridTemplateColumns";
  1875. pluginOrder[pluginOrder["gridAutoColumns"] = 9900] = "gridAutoColumns";
  1876. pluginOrder[pluginOrder["gridColumn"] = 10000] = "gridColumn";
  1877. pluginOrder[pluginOrder["gridColumnStart"] = 10100] = "gridColumnStart";
  1878. pluginOrder[pluginOrder["gridColumnEnd"] = 10200] = "gridColumnEnd";
  1879. pluginOrder[pluginOrder["gridTemplateRows"] = 10300] = "gridTemplateRows";
  1880. pluginOrder[pluginOrder["gridAutoRows"] = 10400] = "gridAutoRows";
  1881. pluginOrder[pluginOrder["gridRow"] = 10500] = "gridRow";
  1882. pluginOrder[pluginOrder["gridRowStart"] = 10600] = "gridRowStart";
  1883. pluginOrder[pluginOrder["gridRowEnd"] = 10700] = "gridRowEnd";
  1884. pluginOrder[pluginOrder["transform"] = 10800] = "transform";
  1885. pluginOrder[pluginOrder["transformOrigin"] = 10900] = "transformOrigin";
  1886. pluginOrder[pluginOrder["scale"] = 11000] = "scale";
  1887. pluginOrder[pluginOrder["rotate"] = 11100] = "rotate";
  1888. pluginOrder[pluginOrder["translate"] = 11200] = "translate";
  1889. pluginOrder[pluginOrder["skew"] = 11300] = "skew";
  1890. pluginOrder[pluginOrder["perspective"] = 11350] = "perspective";
  1891. pluginOrder[pluginOrder["perspectiveOrigin"] = 11360] = "perspectiveOrigin";
  1892. pluginOrder[pluginOrder["transitionProperty"] = 11400] = "transitionProperty";
  1893. pluginOrder[pluginOrder["transitionTimingFunction"] = 11500] = "transitionTimingFunction";
  1894. pluginOrder[pluginOrder["transitionDuration"] = 11600] = "transitionDuration";
  1895. pluginOrder[pluginOrder["transitionDelay"] = 11700] = "transitionDelay";
  1896. pluginOrder[pluginOrder["keyframes"] = 11800] = "keyframes";
  1897. pluginOrder[pluginOrder["animation"] = 11900] = "animation";
  1898. pluginOrder[pluginOrder["imageRendering"] = 11950] = "imageRendering";
  1899. pluginOrder[pluginOrder["mixBlendMode"] = 12000] = "mixBlendMode";
  1900. pluginOrder[pluginOrder["backgroundBlendMode"] = 12100] = "backgroundBlendMode";
  1901. pluginOrder[pluginOrder["filter"] = 12200] = "filter";
  1902. pluginOrder[pluginOrder["blur"] = 12300] = "blur";
  1903. pluginOrder[pluginOrder["brightness"] = 12400] = "brightness";
  1904. pluginOrder[pluginOrder["contrast"] = 12500] = "contrast";
  1905. pluginOrder[pluginOrder["dropShadow"] = 12600] = "dropShadow";
  1906. pluginOrder[pluginOrder["grayscale"] = 12700] = "grayscale";
  1907. pluginOrder[pluginOrder["hueRotate"] = 12800] = "hueRotate";
  1908. pluginOrder[pluginOrder["invert"] = 12900] = "invert";
  1909. pluginOrder[pluginOrder["saturate"] = 13000] = "saturate";
  1910. pluginOrder[pluginOrder["sepia"] = 13100] = "sepia";
  1911. pluginOrder[pluginOrder["backdropFilter"] = 13200] = "backdropFilter";
  1912. pluginOrder[pluginOrder["backdropBlur"] = 13300] = "backdropBlur";
  1913. pluginOrder[pluginOrder["backdropBrightness"] = 13400] = "backdropBrightness";
  1914. pluginOrder[pluginOrder["backdropContrast"] = 13500] = "backdropContrast";
  1915. pluginOrder[pluginOrder["backdropGrayscale"] = 13600] = "backdropGrayscale";
  1916. pluginOrder[pluginOrder["backdropHueRotate"] = 13700] = "backdropHueRotate";
  1917. pluginOrder[pluginOrder["backdropInvert"] = 13800] = "backdropInvert";
  1918. pluginOrder[pluginOrder["backdropOpacity"] = 13900] = "backdropOpacity";
  1919. pluginOrder[pluginOrder["backdropSaturate"] = 14000] = "backdropSaturate";
  1920. pluginOrder[pluginOrder["backdropSepia"] = 14100] = "backdropSepia";
  1921. pluginOrder[pluginOrder["willChange"] = 14200] = "willChange";
  1922. pluginOrder[pluginOrder["touchAction"] = 14300] = "touchAction";
  1923. pluginOrder[pluginOrder["scrollBehavior"] = 14400] = "scrollBehavior";
  1924. pluginOrder[pluginOrder["accentColor"] = 14500] = "accentColor";
  1925. })(pluginOrder || (pluginOrder = {}));
  1926. var createPlugin = function (plugin, config) {
  1927. return {
  1928. handler: plugin,
  1929. config: config,
  1930. };
  1931. };
  1932. createPlugin.withOptions = function (pluginFunction, configFunction) {
  1933. if (configFunction === void 0) { configFunction = function () { return ({}); }; }
  1934. var optionsFunction = function (options) {
  1935. if (options === void 0) { options = {}; }
  1936. return {
  1937. __options: options,
  1938. handler: pluginFunction(options),
  1939. config: configFunction(options),
  1940. };
  1941. };
  1942. optionsFunction.__isOptionsFunction = true;
  1943. // Expose plugin dependencies so that `object-hash` returns a different
  1944. // value if anything here changes, to ensure a rebuild is triggered.
  1945. optionsFunction.__pluginFunction = pluginFunction;
  1946. optionsFunction.__configFunction = configFunction;
  1947. return optionsFunction;
  1948. };
  1949. var defaultColors = {
  1950. transparent: 'transparent',
  1951. current: 'currentColor',
  1952. inherit: 'inherit',
  1953. light: colors.light,
  1954. dark: colors.dark,
  1955. black: colors.black,
  1956. white: colors.white,
  1957. slate: colors.slate,
  1958. gray: colors.gray,
  1959. zinc: colors.zinc,
  1960. neutral: colors.neutral,
  1961. stone: colors.stone,
  1962. red: colors.red,
  1963. yellow: colors.amber,
  1964. green: colors.emerald,
  1965. blue: colors.blue,
  1966. indigo: colors.indigo,
  1967. purple: colors.violet,
  1968. pink: colors.pink,
  1969. rose: colors.rose,
  1970. fuchsia: colors.fuchsia,
  1971. violet: colors.violet,
  1972. cyan: colors.cyan,
  1973. teal: colors.teal,
  1974. emerald: colors.emerald,
  1975. lime: colors.lime,
  1976. amber: colors.amber,
  1977. orange: colors.orange,
  1978. sky: colors.sky,
  1979. 'light-blue': colors.sky,
  1980. 'warm-gray': colors.stone,
  1981. 'true-gray': colors.neutral,
  1982. 'cool-gray': colors.gray,
  1983. 'blue-gray': colors.slate,
  1984. };
  1985. // tShirtScale describes the sizes xs - 7xl
  1986. var tShirtScale = {
  1987. 'xs': '20rem',
  1988. 'sm': '24rem',
  1989. 'md': '28rem',
  1990. 'lg': '32rem',
  1991. 'xl': '36rem',
  1992. '2xl': '42rem',
  1993. '3xl': '48rem',
  1994. '4xl': '56rem',
  1995. '5xl': '64rem',
  1996. '6xl': '72rem',
  1997. '7xl': '80rem',
  1998. };
  1999. var baseConfig = {
  2000. // purge: [],
  2001. presets: [],
  2002. prefixer: true,
  2003. attributify: false,
  2004. darkMode: 'class',
  2005. theme: {
  2006. orientation: {
  2007. portrait: 'portrait',
  2008. landscape: 'landscape',
  2009. },
  2010. screens: {
  2011. sm: '640px',
  2012. md: '768px',
  2013. lg: '1024px',
  2014. xl: '1280px',
  2015. '2xl': '1536px',
  2016. },
  2017. colors: defaultColors,
  2018. spacing: {
  2019. px: '1px',
  2020. 0: '0px',
  2021. 0.5: '0.125rem',
  2022. 1: '0.25rem',
  2023. 1.5: '0.375rem',
  2024. 2: '0.5rem',
  2025. 2.5: '0.625rem',
  2026. 3: '0.75rem',
  2027. 3.5: '0.875rem',
  2028. 4: '1rem',
  2029. 5: '1.25rem',
  2030. 6: '1.5rem',
  2031. 7: '1.75rem',
  2032. 8: '2rem',
  2033. 9: '2.25rem',
  2034. 10: '2.5rem',
  2035. 11: '2.75rem',
  2036. 12: '3rem',
  2037. 14: '3.5rem',
  2038. 16: '4rem',
  2039. 20: '5rem',
  2040. 24: '6rem',
  2041. 28: '7rem',
  2042. 32: '8rem',
  2043. 36: '9rem',
  2044. 40: '10rem',
  2045. 44: '11rem',
  2046. 48: '12rem',
  2047. 52: '13rem',
  2048. 56: '14rem',
  2049. 60: '15rem',
  2050. 64: '16rem',
  2051. 72: '18rem',
  2052. 80: '20rem',
  2053. 96: '24rem',
  2054. // float -> float/4 rem
  2055. },
  2056. animation: {
  2057. none: 'none',
  2058. spin: 'spin 1s linear infinite',
  2059. ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
  2060. pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
  2061. bounce: 'bounce 1s infinite',
  2062. 'shock': {
  2063. animation: 'shock',
  2064. transformOrigin: 'center bottom',
  2065. },
  2066. 'flash': 'flash',
  2067. 'bubble': 'bubble',
  2068. 'rubber-band': 'rubberBand',
  2069. 'shake-x': 'shakeX',
  2070. 'shake-y': 'shakeY',
  2071. 'head-shake': 'headShake 1s ease-in-out',
  2072. 'swing': {
  2073. animation: 'swing',
  2074. transformOrigin: 'top center',
  2075. },
  2076. 'tada': 'tada',
  2077. 'wobble': 'wobble',
  2078. 'jello': 'jello',
  2079. 'heart-beat': 'heartBeat 1s ease-in-out',
  2080. 'hinge': 'hinge 2s',
  2081. 'jack-in': 'jackInTheBox',
  2082. 'light-speed-in-left': 'lightSpeedInLeft',
  2083. 'light-speed-in-right': 'lightSpeedInRight',
  2084. 'light-speed-out-left': 'lightSpeedOutLeft',
  2085. 'light-speed-out-right': 'lightSpeedOutRight',
  2086. 'flip': {
  2087. animation: 'flip',
  2088. backfaceVisibility: 'visible',
  2089. },
  2090. 'flip-in-x': {
  2091. animation: 'flipInX',
  2092. backfaceVisibility: 'visible',
  2093. },
  2094. 'flip-in-y': {
  2095. animation: 'flipInY',
  2096. backfaceVisibility: 'visible',
  2097. },
  2098. 'flip-out-x': {
  2099. animation: 'flipOutX',
  2100. backfaceVisibility: 'visible',
  2101. },
  2102. 'flip-out-y': {
  2103. animation: 'flipOutY',
  2104. backfaceVisibility: 'visible',
  2105. },
  2106. 'rotate-in': 'rotateIn',
  2107. 'rotate-in-down-left': 'rotateInDownLeft',
  2108. 'rotate-in-down-right': 'rotateInDownRight',
  2109. 'rotate-in-up-left': 'rotateInUpLeft',
  2110. 'rotate-in-up-right': 'rotateInUpRight',
  2111. 'rotate-out': 'rotateOut',
  2112. 'rotate-out-down-left': 'rotateOutDownLeft',
  2113. 'rotate-out-down-right': 'rotateOutDownRight',
  2114. 'rotate-out-up-left': 'rotateOutUpLeft',
  2115. 'rotate-out-up-right': 'rotateOutUpRight',
  2116. 'roll-in': 'rollIn',
  2117. 'roll-out': 'rollOut',
  2118. 'zoom-in': 'zoomIn',
  2119. 'zoom-in-down': 'zoomInDown',
  2120. 'zoom-in-left': 'zoomInLeft',
  2121. 'zoom-in-right': 'zoomInRight',
  2122. 'zoom-in-up': 'zoomInUp',
  2123. 'bounce-in': 'bounceIn 750ms',
  2124. 'bounce-in-down': 'bounceInDown',
  2125. 'bounce-in-left': 'bounceInLeft',
  2126. 'bounce-in-right': 'bounceInRight',
  2127. 'bounce-in-up': 'bounceInUp',
  2128. 'bounce-out': 'bounceOut 750ms',
  2129. 'bounce-out-down': 'bounceOutDown',
  2130. 'bounce-out-left': 'bounceOutLeft',
  2131. 'bounce-out-right': 'bounceOutRight',
  2132. 'bounce-out-up': 'bounceOutUp',
  2133. 'zoom-out': 'zoomOut',
  2134. 'zoom-out-down': 'zoomOutDown',
  2135. 'zoom-out-left': 'zoomOutLeft',
  2136. 'zoom-out-right': 'zoomOutRight',
  2137. 'zoom-out-up': 'zoomOutUp',
  2138. 'slide-in-down': 'slideInDown',
  2139. 'slide-in-left': 'slideInLeft',
  2140. 'slide-in-right': 'slideInRight',
  2141. 'slide-in-up': 'slideInUp',
  2142. 'slide-out-down': 'slideOutDown',
  2143. 'slide-out-left': 'slideOutLeft',
  2144. 'slide-out-right': 'slideOutRight',
  2145. 'slide-out-up': 'slideOutUp',
  2146. 'fade-in': 'fadeIn',
  2147. 'fade-in-down': 'fadeInDown',
  2148. 'fade-in-down-big': 'fadeInDownBig',
  2149. 'fade-in-left': 'fadeInLeft',
  2150. 'fade-in-left-big': 'fadeInLeftBig',
  2151. 'fade-in-right': 'fadeInRight',
  2152. 'fade-in-right-big': 'fadeInRightBig',
  2153. 'fade-in-up': 'fadeInUp',
  2154. 'fade-in-up-big': 'fadeInUpBig',
  2155. 'fade-in-top-left': 'fadeInTopLeft',
  2156. 'fade-in-top-right': 'fadeInTopRight',
  2157. 'fade-in-bottom-left': 'fadeInBottomLeft',
  2158. 'fade-in-bottom-right': 'fadeInBottomRight',
  2159. 'fade-out': 'fadeOut',
  2160. 'fade-out-down': 'fadeOutDown',
  2161. 'fade-out-down-big': 'fadeOutDownBig',
  2162. 'fade-out-left': 'fadeOutLeft',
  2163. 'fade-out-left-big': 'fadeOutLeftBig',
  2164. 'fade-out-right': 'fadeOutRight',
  2165. 'fade-out-right-big': 'fadeOutRightBig',
  2166. 'fade-out-up': 'fadeOutUp',
  2167. 'fade-out-up-big': 'fadeOutUpBig',
  2168. 'back-in-up': 'backInUp',
  2169. 'back-in-down': 'backInDown',
  2170. 'back-in-left': 'backInLeft',
  2171. 'back-in-right': 'backInRight',
  2172. 'back-out-up': 'backOutUp',
  2173. 'back-out-down': 'backOutDown',
  2174. 'back-out-left': 'backOutLeft',
  2175. 'back-out-right': 'backOutRight',
  2176. },
  2177. animationDuration: {
  2178. DEFAULT: '1000ms',
  2179. 75: '75ms',
  2180. 100: '100ms',
  2181. 150: '150ms',
  2182. 200: '200ms',
  2183. 300: '300ms',
  2184. 500: '500ms',
  2185. 700: '700ms',
  2186. 1000: '1000ms',
  2187. 1500: '1500ms',
  2188. 2000: '2000ms',
  2189. 2500: '2500ms',
  2190. 3000: '3000ms',
  2191. // int >=0 -> int ms
  2192. },
  2193. animationDelay: {
  2194. DEFAULT: '500ms',
  2195. 75: '75ms',
  2196. 100: '100ms',
  2197. 150: '150ms',
  2198. 200: '200ms',
  2199. 300: '300ms',
  2200. 500: '500ms',
  2201. 700: '700ms',
  2202. 1000: '1000ms',
  2203. 1500: '1500ms',
  2204. 2000: '2000ms',
  2205. 2500: '2500ms',
  2206. 3000: '3000ms',
  2207. // int >=0 -> int ms
  2208. },
  2209. animationIterationCount: {
  2210. DEFAULT: '1',
  2211. loop: 'infinite',
  2212. 'repeat-1': '1',
  2213. 'repeat-2': '2',
  2214. 'repeat-3': '3',
  2215. 'repeat-4': '4',
  2216. 'repeat-5': '5',
  2217. 'repeat-6': '6',
  2218. 'repeat-7': '7',
  2219. 'repeat-8': '8',
  2220. 'repeat-9': '9',
  2221. 'repeat-10': '10',
  2222. 'repeat-11': '11',
  2223. 'repeat-12': '12',
  2224. },
  2225. animationTimingFunction: {
  2226. DEFAULT: 'ease',
  2227. linear: 'linear',
  2228. in: 'ease-in',
  2229. out: 'ease-out',
  2230. 'in-out': 'ease-in-out',
  2231. },
  2232. backdropBlur: function (theme) { return theme('blur'); },
  2233. backdropBrightness: function (theme) { return theme('brightness'); },
  2234. backdropContrast: function (theme) { return theme('contrast'); },
  2235. backdropGrayscale: function (theme) { return theme('grayscale'); },
  2236. backdropHueRotate: function (theme) { return theme('hueRotate'); },
  2237. backdropInvert: function (theme) { return theme('invert'); },
  2238. backdropOpacity: function (theme) { return theme('opacity'); },
  2239. backdropSaturate: function (theme) { return theme('saturate'); },
  2240. backdropSepia: function (theme) { return theme('sepia'); },
  2241. backgroundColor: function (theme) { return theme('colors'); },
  2242. backgroundImage: {
  2243. none: 'none',
  2244. 'gradient-1': 'linear-gradient(135deg, #FDEB71 10%, #F8D800 100%)',
  2245. 'gradient-2': 'linear-gradient(135deg, #ABDCFF 10%, #0396FF 100%)',
  2246. 'gradient-3': 'linear-gradient(135deg, #FEB692 10%, #EA5455 100%)',
  2247. 'gradient-4': 'linear-gradient(135deg, #CE9FFC 10%, #7367F0 100%)',
  2248. 'gradient-5': 'linear-gradient(135deg, #90F7EC 10%, #32CCBC 100%)',
  2249. 'gradient-6': 'linear-gradient(135deg, #FFF6B7 10%, #F6416C 100%)',
  2250. 'gradient-7': 'linear-gradient(135deg, #81FBB8 10%, #28C76F 100%)',
  2251. 'gradient-8': 'linear-gradient(135deg, #E2B0FF 10%, #9F44D3 100%)',
  2252. 'gradient-9': 'linear-gradient(135deg, #F97794 10%, #623AA2 100%)',
  2253. 'gradient-10': 'linear-gradient(135deg, #FCCF31 10%, #F55555 100%)',
  2254. 'gradient-11': 'linear-gradient(135deg, #F761A1 10%, #8C1BAB 100%)',
  2255. 'gradient-12': 'linear-gradient(135deg, #43CBFF 10%, #9708CC 100%)',
  2256. 'gradient-13': 'linear-gradient(135deg, #5EFCE8 10%, #736EFE 100%)',
  2257. 'gradient-14': 'linear-gradient(135deg, #FAD7A1 10%, #E96D71 100%)',
  2258. 'gradient-15': 'linear-gradient(135deg, #FFD26F 10%, #3677FF 100%)',
  2259. 'gradient-16': 'linear-gradient(135deg, #A0FE65 10%, #FA016D 100%)',
  2260. 'gradient-17': 'linear-gradient(135deg, #FFDB01 10%, #0E197D 100%)',
  2261. 'gradient-18': 'linear-gradient(135deg, #FEC163 10%, #DE4313 100%)',
  2262. 'gradient-19': 'linear-gradient(135deg, #92FFC0 10%, #002661 100%)',
  2263. 'gradient-20': 'linear-gradient(135deg, #EEAD92 10%, #6018DC 100%)',
  2264. 'gradient-21': 'linear-gradient(135deg, #F6CEEC 10%, #D939CD 100%)',
  2265. 'gradient-22': 'linear-gradient(135deg, #52E5E7 10%, #130CB7 100%)',
  2266. 'gradient-23': 'linear-gradient(135deg, #F1CA74 10%, #A64DB6 100%)',
  2267. 'gradient-24': 'linear-gradient(135deg, #E8D07A 10%, #5312D6 100%)',
  2268. 'gradient-25': 'linear-gradient(135deg, #EECE13 10%, #B210FF 100%)',
  2269. 'gradient-26': 'linear-gradient(135deg, #79F1A4 10%, #0E5CAD 100%)',
  2270. 'gradient-27': 'linear-gradient(135deg, #FDD819 10%, #E80505 100%)',
  2271. 'gradient-28': 'linear-gradient(135deg, #FFF3B0 10%, #CA26FF 100%)',
  2272. 'gradient-29': 'linear-gradient(135deg, #FFF5C3 10%, #9452A5 100%)',
  2273. 'gradient-30': 'linear-gradient(135deg, #F05F57 10%, #360940 100%)',
  2274. 'gradient-31': 'linear-gradient(135deg, #2AFADF 10%, #4C83FF 100%)',
  2275. 'gradient-32': 'linear-gradient(135deg, #FFF886 10%, #F072B6 100%)',
  2276. 'gradient-33': 'linear-gradient(135deg, #97ABFF 10%, #123597 100%)',
  2277. 'gradient-34': 'linear-gradient(135deg, #F5CBFF 10%, #C346C2 100%)',
  2278. 'gradient-35': 'linear-gradient(135deg, #FFF720 10%, #3CD500 100%)',
  2279. 'gradient-36': 'linear-gradient(135deg, #FF6FD8 10%, #3813C2 100%)',
  2280. 'gradient-37': 'linear-gradient(135deg, #EE9AE5 10%, #5961F9 100%)',
  2281. 'gradient-38': 'linear-gradient(135deg, #FFD3A5 10%, #FD6585 100%)',
  2282. 'gradient-39': 'linear-gradient(135deg, #C2FFD8 10%, #465EFB 100%)',
  2283. 'gradient-40': 'linear-gradient(135deg, #FD6585 10%, #0D25B9 100%)',
  2284. 'gradient-41': 'linear-gradient(135deg, #FD6E6A 10%, #FFC600 100%)',
  2285. 'gradient-42': 'linear-gradient(135deg, #65FDF0 10%, #1D6FA3 100%)',
  2286. 'gradient-43': 'linear-gradient(135deg, #6B73FF 10%, #000DFF 100%)',
  2287. 'gradient-44': 'linear-gradient(135deg, #FF7AF5 10%, #513162 100%)',
  2288. 'gradient-45': 'linear-gradient(135deg, #F0FF00 10%, #58CFFB 100%)',
  2289. 'gradient-46': 'linear-gradient(135deg, #FFE985 10%, #FA742B 100%)',
  2290. 'gradient-47': 'linear-gradient(135deg, #FFA6B7 10%, #1E2AD2 100%)',
  2291. 'gradient-48': 'linear-gradient(135deg, #FFAA85 10%, #B3315F 100%)',
  2292. 'gradient-49': 'linear-gradient(135deg, #72EDF2 10%, #5151E5 100%)',
  2293. 'gradient-50': 'linear-gradient(135deg, #FF9D6C 10%, #BB4E75 100%)',
  2294. 'gradient-51': 'linear-gradient(135deg, #F6D242 10%, #FF52E5 100%)',
  2295. 'gradient-52': 'linear-gradient(135deg, #69FF97 10%, #00E4FF 100%)',
  2296. 'gradient-53': 'linear-gradient(135deg, #3B2667 10%, #BC78EC 100%)',
  2297. 'gradient-54': 'linear-gradient(135deg, #70F570 10%, #49C628 100%)',
  2298. 'gradient-55': 'linear-gradient(135deg, #3C8CE7 10%, #00EAFF 100%)',
  2299. 'gradient-56': 'linear-gradient(135deg, #FAB2FF 10%, #1904E5 100%)',
  2300. 'gradient-57': 'linear-gradient(135deg, #81FFEF 10%, #F067B4 100%)',
  2301. 'gradient-58': 'linear-gradient(135deg, #FFA8A8 10%, #FCFF00 100%)',
  2302. 'gradient-59': 'linear-gradient(135deg, #FFCF71 10%, #2376DD 100%)',
  2303. 'gradient-60': 'linear-gradient(135deg, #FF96F9 10%, #C32BAC 100%)',
  2304. 'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',
  2305. 'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))',
  2306. 'gradient-to-r': 'linear-gradient(to right, var(--tw-gradient-stops))',
  2307. 'gradient-to-br': 'linear-gradient(to bottom right, var(--tw-gradient-stops))',
  2308. 'gradient-to-b': 'linear-gradient(to bottom, var(--tw-gradient-stops))',
  2309. 'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',
  2310. 'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',
  2311. 'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
  2312. },
  2313. backgroundOpacity: function (theme) { return theme('opacity'); },
  2314. backgroundPosition: {
  2315. bottom: 'bottom',
  2316. center: 'center',
  2317. left: 'left',
  2318. 'left-bottom': 'left bottom',
  2319. 'left-top': 'left top',
  2320. right: 'right',
  2321. 'right-bottom': 'right bottom',
  2322. 'right-top': 'right top',
  2323. top: 'top',
  2324. },
  2325. backgroundSize: {
  2326. auto: 'auto',
  2327. cover: 'cover',
  2328. contain: 'contain',
  2329. },
  2330. blur: {
  2331. DEFAULT: '8px',
  2332. 0: '0',
  2333. sm: '4px',
  2334. md: '12px',
  2335. lg: '16px',
  2336. xl: '24px',
  2337. '2xl': '40px',
  2338. '3xl': '64px',
  2339. },
  2340. borderColor: function (theme) {
  2341. var _a;
  2342. return (__assign({ DEFAULT: theme('colors.gray.200', 'currentColor') }, ((_a = theme('colors')) !== null && _a !== void 0 ? _a : {})));
  2343. },
  2344. borderOpacity: function (theme) { return theme('opacity'); },
  2345. borderRadius: {
  2346. DEFAULT: '0.25rem',
  2347. none: '0px',
  2348. sm: '0.125rem',
  2349. md: '0.375rem',
  2350. lg: '0.5rem',
  2351. xl: '0.75rem',
  2352. '2xl': '1rem',
  2353. '3xl': '1.5rem',
  2354. '1': '100%',
  2355. full: '9999px',
  2356. },
  2357. borderWidth: {
  2358. DEFAULT: '1px',
  2359. 0: '0px',
  2360. 2: '2px',
  2361. 4: '4px',
  2362. 8: '8px',
  2363. // int >=0 -> int px
  2364. },
  2365. boxShadow: {
  2366. DEFAULT: '0 1px 3px 0 rgb(0 0 0/0.1),0 1px 2px -1px rgb(0 0 0/0.1)',
  2367. sm: '0 1px 2px 0 rgb(0 0 0/0.05)',
  2368. md: '0 4px 6px -1px rgb(0 0 0/0.1),0 2px 4px -2px rgb(0 0 0/0.1)',
  2369. lg: '0 10px 15px -3px rgb(0 0 0/0.1),0 4px 6px -4px rgb(0 0 0/0.1)',
  2370. xl: '0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1)',
  2371. '2xl': '0 25px 50px -12px rgb(0 0 0/0.25)',
  2372. inner: 'inset 0 2px 4px 0 rgb(0 0 0/0.05)',
  2373. none: '0 0 #0000',
  2374. },
  2375. boxShadowColor: function (theme) { return theme('colors'); },
  2376. brightness: {
  2377. 0: '0',
  2378. 50: '.5',
  2379. 75: '.75',
  2380. 90: '.9',
  2381. 95: '.95',
  2382. 100: '1',
  2383. 105: '1.05',
  2384. 110: '1.1',
  2385. 125: '1.25',
  2386. 150: '1.5',
  2387. 200: '2',
  2388. },
  2389. caretColor: function (theme) {
  2390. var _a;
  2391. return (__assign({ auto: 'auto' }, ((_a = theme('colors')) !== null && _a !== void 0 ? _a : {})));
  2392. },
  2393. caretOpacity: function (theme) { return theme('opacity'); },
  2394. columns: __assign(__assign({}, tShirtScale), { auto: 'auto', 1: '1', 2: '2', 3: '3', 4: '4', 5: '5', 6: '6', 7: '7', 8: '8', 9: '9', 10: '10', 11: '11', 12: '12', '3xs': '16rem', '2xs': '18rem' }),
  2395. container: {},
  2396. content: {
  2397. DEFAULT: '""',
  2398. 'open-quote': 'open-quote',
  2399. 'close-quote': 'close-quote',
  2400. 'open-square': '"["',
  2401. 'close-square': '"]"',
  2402. 'open-curly': '"{"',
  2403. 'close-curly': '"}"',
  2404. 'open-bracket': '"("',
  2405. 'close-bracket': '")"',
  2406. },
  2407. contrast: {
  2408. 0: '0',
  2409. 50: '.5',
  2410. 75: '.75',
  2411. 100: '1',
  2412. 125: '1.25',
  2413. 150: '1.5',
  2414. 200: '2',
  2415. },
  2416. cursor: {
  2417. auto: 'auto',
  2418. default: 'default',
  2419. pointer: 'pointer',
  2420. wait: 'wait',
  2421. text: 'text',
  2422. move: 'move',
  2423. help: 'help',
  2424. 'not-allowed': 'not-allowed',
  2425. },
  2426. divideColor: function (theme) { return theme('borderColor'); },
  2427. divideOpacity: function (theme) { return theme('borderOpacity'); },
  2428. divideWidth: function (theme) { return theme('borderWidth'); },
  2429. dropShadow: {
  2430. DEFAULT: ['0 1px 2px rgba(0, 0, 0, 0.1)', '0 1px 1px rgba(0, 0, 0, 0.06)'],
  2431. sm: '0 1px 1px rgba(0,0,0,0.05)',
  2432. md: ['0 4px 3px rgba(0, 0, 0, 0.07)', '0 2px 2px rgba(0, 0, 0, 0.06)'],
  2433. lg: ['0 10px 8px rgba(0, 0, 0, 0.04)', '0 4px 3px rgba(0, 0, 0, 0.1)'],
  2434. xl: ['0 20px 13px rgba(0, 0, 0, 0.03)', '0 8px 5px rgba(0, 0, 0, 0.08)'],
  2435. '2xl': '0 25px 25px rgba(0, 0, 0, 0.15)',
  2436. none: '0 0 #0000',
  2437. },
  2438. fill: function (theme) {
  2439. var _a;
  2440. return (__assign(__assign({}, ((_a = theme('colors')) !== null && _a !== void 0 ? _a : {})), { none: 'none' }));
  2441. },
  2442. flex: {
  2443. 1: '1 1 0%',
  2444. auto: '1 1 auto',
  2445. initial: '0 1 auto',
  2446. none: 'none',
  2447. },
  2448. flexGrow: {
  2449. DEFAULT: '1',
  2450. 0: '0',
  2451. },
  2452. flexShrink: {
  2453. DEFAULT: '1',
  2454. 0: '0',
  2455. },
  2456. fontFamily: {
  2457. sans: [
  2458. 'ui-sans-serif',
  2459. 'system-ui',
  2460. '-apple-system',
  2461. 'BlinkMacSystemFont',
  2462. '"Segoe UI"',
  2463. 'Roboto',
  2464. '"Helvetica Neue"',
  2465. 'Arial',
  2466. '"Noto Sans"',
  2467. 'sans-serif',
  2468. '"Apple Color Emoji"',
  2469. '"Segoe UI Emoji"',
  2470. '"Segoe UI Symbol"',
  2471. '"Noto Color Emoji"',
  2472. ],
  2473. serif: [
  2474. 'ui-serif',
  2475. 'Georgia',
  2476. 'Cambria',
  2477. '"Times New Roman"',
  2478. 'Times',
  2479. 'serif',
  2480. ],
  2481. mono: [
  2482. 'ui-monospace',
  2483. 'SFMono-Regular',
  2484. 'Menlo',
  2485. 'Monaco',
  2486. 'Consolas',
  2487. '"Liberation Mono"',
  2488. '"Courier New"',
  2489. 'monospace',
  2490. ],
  2491. },
  2492. fontSize: {
  2493. xs: ['0.75rem', { lineHeight: '1rem' }],
  2494. sm: ['0.875rem', { lineHeight: '1.25rem' }],
  2495. base: ['1rem', { lineHeight: '1.5rem' }],
  2496. lg: ['1.125rem', { lineHeight: '1.75rem' }],
  2497. xl: ['1.25rem', { lineHeight: '1.75rem' }],
  2498. '2xl': ['1.5rem', { lineHeight: '2rem' }],
  2499. '3xl': ['1.875rem', { lineHeight: '2.25rem' }],
  2500. '4xl': ['2.25rem', { lineHeight: '2.5rem' }],
  2501. '5xl': ['3rem', { lineHeight: '1' }],
  2502. '6xl': ['3.75rem', { lineHeight: '1' }],
  2503. '7xl': ['4.5rem', { lineHeight: '1' }],
  2504. '8xl': ['6rem', { lineHeight: '1' }],
  2505. '9xl': ['8rem', { lineHeight: '1' }],
  2506. // nxl -> [n rem, lineHeight: 1]
  2507. },
  2508. fontWeight: {
  2509. thin: '100',
  2510. extralight: '200',
  2511. light: '300',
  2512. normal: '400',
  2513. medium: '500',
  2514. semibold: '600',
  2515. bold: '700',
  2516. extrabold: '800',
  2517. black: '900',
  2518. // int[0, 900] -> int
  2519. },
  2520. gap: function (theme) { return theme('spacing'); },
  2521. gradientColorStops: function (theme) { return theme('colors'); },
  2522. grayscale: {
  2523. DEFAULT: '100%',
  2524. 0: '0',
  2525. },
  2526. gridAutoColumns: {
  2527. auto: 'auto',
  2528. min: 'min-content',
  2529. max: 'max-content',
  2530. fr: 'minmax(0, 1fr)',
  2531. },
  2532. gridAutoRows: {
  2533. auto: 'auto',
  2534. min: 'min-content',
  2535. max: 'max-content',
  2536. fr: 'minmax(0, 1fr)',
  2537. },
  2538. gridColumn: {
  2539. auto: 'auto',
  2540. 'span-1': 'span 1 / span 1',
  2541. 'span-2': 'span 2 / span 2',
  2542. 'span-3': 'span 3 / span 3',
  2543. 'span-4': 'span 4 / span 4',
  2544. 'span-5': 'span 5 / span 5',
  2545. 'span-6': 'span 6 / span 6',
  2546. 'span-7': 'span 7 / span 7',
  2547. 'span-8': 'span 8 / span 8',
  2548. 'span-9': 'span 9 / span 9',
  2549. 'span-10': 'span 10 / span 10',
  2550. 'span-11': 'span 11 / span 11',
  2551. 'span-12': 'span 12 / span 12',
  2552. // span-int(>=1) -> span int / span int
  2553. 'span-full': '1 / -1',
  2554. },
  2555. gridColumnEnd: {
  2556. auto: 'auto',
  2557. 1: '1',
  2558. 2: '2',
  2559. 3: '3',
  2560. 4: '4',
  2561. 5: '5',
  2562. 6: '6',
  2563. 7: '7',
  2564. 8: '8',
  2565. 9: '9',
  2566. 10: '10',
  2567. 11: '11',
  2568. 12: '12',
  2569. 13: '13',
  2570. // int >=1 -> int
  2571. },
  2572. gridColumnStart: {
  2573. auto: 'auto',
  2574. 1: '1',
  2575. 2: '2',
  2576. 3: '3',
  2577. 4: '4',
  2578. 5: '5',
  2579. 6: '6',
  2580. 7: '7',
  2581. 8: '8',
  2582. 9: '9',
  2583. 10: '10',
  2584. 11: '11',
  2585. 12: '12',
  2586. 13: '13',
  2587. // int >=1 -> int
  2588. },
  2589. gridRow: {
  2590. auto: 'auto',
  2591. 'span-1': 'span 1 / span 1',
  2592. 'span-2': 'span 2 / span 2',
  2593. 'span-3': 'span 3 / span 3',
  2594. 'span-4': 'span 4 / span 4',
  2595. 'span-5': 'span 5 / span 5',
  2596. 'span-6': 'span 6 / span 6',
  2597. // span-int(>=1) -> span int / span int
  2598. 'span-full': '1 / -1',
  2599. },
  2600. gridRowStart: {
  2601. auto: 'auto',
  2602. 1: '1',
  2603. 2: '2',
  2604. 3: '3',
  2605. 4: '4',
  2606. 5: '5',
  2607. 6: '6',
  2608. 7: '7',
  2609. // int >=1 -> int
  2610. },
  2611. gridRowEnd: {
  2612. auto: 'auto',
  2613. 1: '1',
  2614. 2: '2',
  2615. 3: '3',
  2616. 4: '4',
  2617. 5: '5',
  2618. 6: '6',
  2619. 7: '7',
  2620. // int >=1 -> int
  2621. },
  2622. gridTemplateColumns: {
  2623. none: 'none',
  2624. 1: 'repeat(1, minmax(0, 1fr))',
  2625. 2: 'repeat(2, minmax(0, 1fr))',
  2626. 3: 'repeat(3, minmax(0, 1fr))',
  2627. 4: 'repeat(4, minmax(0, 1fr))',
  2628. 5: 'repeat(5, minmax(0, 1fr))',
  2629. 6: 'repeat(6, minmax(0, 1fr))',
  2630. 7: 'repeat(7, minmax(0, 1fr))',
  2631. 8: 'repeat(8, minmax(0, 1fr))',
  2632. 9: 'repeat(9, minmax(0, 1fr))',
  2633. 10: 'repeat(10, minmax(0, 1fr))',
  2634. 11: 'repeat(11, minmax(0, 1fr))',
  2635. 12: 'repeat(12, minmax(0, 1fr))',
  2636. // int >=1 -> repeat(int, minmax(0, 1fr))
  2637. },
  2638. gridTemplateRows: {
  2639. none: 'none',
  2640. 1: 'repeat(1, minmax(0, 1fr))',
  2641. 2: 'repeat(2, minmax(0, 1fr))',
  2642. 3: 'repeat(3, minmax(0, 1fr))',
  2643. 4: 'repeat(4, minmax(0, 1fr))',
  2644. 5: 'repeat(5, minmax(0, 1fr))',
  2645. 6: 'repeat(6, minmax(0, 1fr))',
  2646. // int >=1 -> repeat(int, minmax(0, 1fr))
  2647. },
  2648. height: function (theme, _a) {
  2649. var _b, _c;
  2650. var breakpoints = _a.breakpoints;
  2651. return (__assign(__assign(__assign(__assign({}, ((_b = theme('spacing')) !== null && _b !== void 0 ? _b : {})), tShirtScale), { '1/2': '50%', '1/3': '33.333333%', '2/3': '66.666667%', '1/4': '25%', '2/4': '50%', '3/4': '75%', '1/5': '20%', '2/5': '40%', '3/5': '60%', '4/5': '80%', '1/6': '16.666667%', '2/6': '33.333333%', '3/6': '50%', '4/6': '66.666667%', '5/6': '83.333333%',
  2652. // fraction -> percent
  2653. auto: 'auto', full: '100%', min: 'min-content', max: 'max-content', prose: '65ch', screen: '100vh' }), breakpoints((_c = theme('screens')) !== null && _c !== void 0 ? _c : {})));
  2654. },
  2655. hueRotate: {
  2656. '-180': '-180deg',
  2657. '-90': '-90deg',
  2658. '-60': '-60deg',
  2659. '-30': '-30deg',
  2660. '-15': '-15deg',
  2661. 0: '0deg',
  2662. 15: '15deg',
  2663. 30: '30deg',
  2664. 60: '60deg',
  2665. 90: '90deg',
  2666. 180: '180deg',
  2667. },
  2668. inset: function (theme, _a) {
  2669. var _b;
  2670. var negative = _a.negative;
  2671. return (__assign(__assign(__assign({ auto: 'auto' }, ((_b = theme('spacing')) !== null && _b !== void 0 ? _b : {})), negative(theme('spacing'))), { '1/2': '50%', '1/3': '33.333333%', '2/3': '66.666667%', '1/4': '25%', '2/4': '50%', '3/4': '75%', full: '100%', '-1/2': '-50%', '-1/3': '-33.333333%', '-2/3': '-66.666667%', '-1/4': '-25%', '-2/4': '-50%', '-3/4': '-75%', '-full': '-100%' }));
  2672. },
  2673. invert: {
  2674. DEFAULT: '100%',
  2675. 0: '0',
  2676. },
  2677. keyframes: keyframes,
  2678. letterSpacing: {
  2679. tighter: '-0.05em',
  2680. tight: '-0.025em',
  2681. normal: '0em',
  2682. wide: '0.025em',
  2683. wider: '0.05em',
  2684. widest: '0.1em',
  2685. },
  2686. lineHeight: {
  2687. none: '1',
  2688. tight: '1.25',
  2689. snug: '1.375',
  2690. normal: '1.5',
  2691. relaxed: '1.625',
  2692. loose: '2',
  2693. 3: '.75rem',
  2694. 4: '1rem',
  2695. 5: '1.25rem',
  2696. 6: '1.5rem',
  2697. 7: '1.75rem',
  2698. 8: '2rem',
  2699. 9: '2.25rem',
  2700. 10: '2.5rem',
  2701. // int>=0 -> int/4 rem
  2702. },
  2703. listStyleType: {
  2704. none: 'none',
  2705. circle: 'circle',
  2706. square: 'square',
  2707. disc: 'disc',
  2708. decimal: 'decimal',
  2709. 'zero-decimal': 'decimal-leading-zero',
  2710. greek: 'lower-greek',
  2711. roman: 'lower-roman',
  2712. alpha: 'lower-alpha',
  2713. 'upper-roman': 'upper-roman',
  2714. 'upper-alpha': 'upper-alpha',
  2715. },
  2716. margin: function (theme, _a) {
  2717. var _b;
  2718. var negative = _a.negative;
  2719. return (__assign(__assign({ auto: 'auto' }, ((_b = theme('spacing')) !== null && _b !== void 0 ? _b : {})), negative(theme('spacing'))));
  2720. },
  2721. maxHeight: function (theme, _a) {
  2722. var _b, _c;
  2723. var breakpoints = _a.breakpoints;
  2724. return (__assign(__assign(__assign(__assign({}, breakpoints((_b = theme('screens')) !== null && _b !== void 0 ? _b : {})), ((_c = theme('spacing')) !== null && _c !== void 0 ? _c : {})), tShirtScale), { none: 'none', full: '100%', min: 'min-content', max: 'max-content', prose: '65ch', screen: '100vh' }));
  2725. },
  2726. maxWidth: function (theme, _a) {
  2727. var _b, _c;
  2728. var breakpoints = _a.breakpoints;
  2729. return (__assign(__assign(__assign(__assign({}, breakpoints((_b = theme('screens')) !== null && _b !== void 0 ? _b : {})), ((_c = theme('spacing')) !== null && _c !== void 0 ? _c : {})), tShirtScale), { none: 'none', full: '100%', min: 'min-content', max: 'max-content', prose: '65ch', screen: '100vw' }));
  2730. },
  2731. minHeight: function (theme) { return theme('maxHeight'); },
  2732. minWidth: function (theme) { return theme('maxWidth'); },
  2733. objectPosition: {
  2734. bottom: 'bottom',
  2735. center: 'center',
  2736. left: 'left',
  2737. 'left-bottom': 'left bottom',
  2738. 'left-top': 'left top',
  2739. right: 'right',
  2740. 'right-bottom': 'right bottom',
  2741. 'right-top': 'right top',
  2742. top: 'top',
  2743. },
  2744. opacity: {
  2745. 0: '0',
  2746. 5: '0.05',
  2747. 10: '0.1',
  2748. 20: '0.2',
  2749. 25: '0.25',
  2750. 30: '0.3',
  2751. 40: '0.4',
  2752. 50: '0.5',
  2753. 60: '0.6',
  2754. 70: '0.7',
  2755. 75: '0.75',
  2756. 80: '0.8',
  2757. 90: '0.9',
  2758. 95: '0.95',
  2759. 100: '1',
  2760. // float -> float/100
  2761. },
  2762. order: {
  2763. first: '-9999',
  2764. last: '9999',
  2765. none: '0',
  2766. 1: '1',
  2767. 2: '2',
  2768. 3: '3',
  2769. 4: '4',
  2770. 5: '5',
  2771. 6: '6',
  2772. 7: '7',
  2773. 8: '8',
  2774. 9: '9',
  2775. 10: '10',
  2776. 11: '11',
  2777. 12: '12',
  2778. // int[1, 9999]
  2779. },
  2780. outlineColor: function (theme) { return theme('colors'); },
  2781. outlineWidth: {
  2782. 0: '0px',
  2783. 1: '1px',
  2784. 2: '2px',
  2785. 4: '4px',
  2786. 8: '8px',
  2787. },
  2788. outlineOffset: {
  2789. 0: '0px',
  2790. 1: '1px',
  2791. 2: '2px',
  2792. 4: '4px',
  2793. 8: '8px',
  2794. },
  2795. padding: function (theme) { return theme('spacing'); },
  2796. perspective: function (theme) {
  2797. var _a;
  2798. return (__assign(__assign(__assign({}, ((_a = theme('spacing')) !== null && _a !== void 0 ? _a : {})), tShirtScale), { none: 'none' }));
  2799. },
  2800. perspectiveOrigin: {
  2801. center: 'center',
  2802. top: 'top',
  2803. 'top-right': 'top right',
  2804. right: 'right',
  2805. 'bottom-right': 'bottom right',
  2806. bottom: 'bottom',
  2807. 'bottom-left': 'bottom left',
  2808. left: 'left',
  2809. 'top-left': 'top left',
  2810. },
  2811. placeholderColor: function (theme) { return theme('colors'); },
  2812. placeholderOpacity: function (theme) { return theme('opacity'); },
  2813. ringColor: function (theme) {
  2814. var _a;
  2815. return (__assign({ DEFAULT: theme('colors.blue.500', '#3b82f6') }, ((_a = theme('colors')) !== null && _a !== void 0 ? _a : {})));
  2816. },
  2817. ringOffsetColor: function (theme) { return theme('colors'); },
  2818. ringOffsetWidth: {
  2819. 0: '0px',
  2820. 1: '1px',
  2821. 2: '2px',
  2822. 4: '4px',
  2823. 8: '8px',
  2824. // float -> float px
  2825. },
  2826. ringOpacity: function (theme) {
  2827. var _a;
  2828. return (__assign({ DEFAULT: '0.5' }, ((_a = theme('opacity')) !== null && _a !== void 0 ? _a : {})));
  2829. },
  2830. ringWidth: {
  2831. DEFAULT: '3px',
  2832. 0: '0px',
  2833. 1: '1px',
  2834. 2: '2px',
  2835. 4: '4px',
  2836. 8: '8px',
  2837. // float -> float px
  2838. },
  2839. rotate: {
  2840. '-180': '-180deg',
  2841. '-90': '-90deg',
  2842. '-45': '-45deg',
  2843. '-12': '-12deg',
  2844. '-6': '-6deg',
  2845. '-3': '-3deg',
  2846. '-2': '-2deg',
  2847. '-1': '-1deg',
  2848. 0: '0deg',
  2849. 1: '1deg',
  2850. 2: '2deg',
  2851. 3: '3deg',
  2852. 6: '6deg',
  2853. 12: '12deg',
  2854. 45: '45deg',
  2855. 90: '90deg',
  2856. 180: '180deg',
  2857. // float[0, 360] -> float[0deg, 360deg]
  2858. // ...negative
  2859. },
  2860. saturate: {
  2861. DEFAULT: '0',
  2862. 0: '0',
  2863. 50: '.5',
  2864. 100: '1',
  2865. 150: '1.5',
  2866. 200: '2',
  2867. },
  2868. scale: {
  2869. 0: '0',
  2870. 50: '.5',
  2871. 75: '.75',
  2872. 90: '.9',
  2873. 95: '.95',
  2874. 100: '1',
  2875. 105: '1.05',
  2876. 110: '1.1',
  2877. 125: '1.25',
  2878. 150: '1.5',
  2879. // int >=0 -> int/100
  2880. },
  2881. sepia: {
  2882. DEFAULT: '100%',
  2883. 0: '0',
  2884. },
  2885. skew: {
  2886. '-12': '-12deg',
  2887. '-6': '-6deg',
  2888. '-3': '-3deg',
  2889. '-2': '-2deg',
  2890. '-1': '-1deg',
  2891. 0: '0deg',
  2892. 1: '1deg',
  2893. 2: '2deg',
  2894. 3: '3deg',
  2895. 6: '6deg',
  2896. 12: '12deg',
  2897. // float[0, 360] -> float[0deg, 360deg]
  2898. // ...negative
  2899. },
  2900. space: function (theme, _a) {
  2901. var negative = _a.negative;
  2902. return (__assign(__assign({}, theme('spacing')), negative(theme('spacing'))));
  2903. },
  2904. stroke: function (theme) {
  2905. var _a;
  2906. return (__assign(__assign({}, ((_a = theme('colors')) !== null && _a !== void 0 ? _a : {})), { none: 'none' }));
  2907. },
  2908. strokeWidth: {
  2909. 0: '0',
  2910. 1: '1',
  2911. 2: '2',
  2912. },
  2913. strokeDashArray: {
  2914. 0: '0',
  2915. 1: '1',
  2916. 2: '2',
  2917. },
  2918. strokeDashOffset: {
  2919. 0: '0',
  2920. 1: '1',
  2921. 2: '2',
  2922. },
  2923. tabSize: {
  2924. DEFAULT: '4',
  2925. 0: '0',
  2926. 2: '2',
  2927. 4: '4',
  2928. 8: '8',
  2929. // int >=0 -> int px
  2930. },
  2931. textColor: function (theme) { return theme('colors'); },
  2932. textOpacity: function (theme) { return theme('opacity'); },
  2933. textShadow: {
  2934. DEFAULT: '0px 0px 1px rgb(0 0 0 / 20%), 0px 0px 1px rgb(1 0 5 / 10%)',
  2935. sm: '1px 1px 3px rgb(36 37 47 / 25%)',
  2936. md: '0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%)',
  2937. lg: '3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%)',
  2938. xl: '1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)',
  2939. none: 'none',
  2940. },
  2941. textDecorationColor: function (theme) { return theme('colors'); },
  2942. textDecorationOpacity: function (theme) { return theme('opacity'); },
  2943. textDecorationLength: {
  2944. 'auto': 'auto',
  2945. 0: '0px',
  2946. 2: '2px',
  2947. 4: '4px',
  2948. 8: '8px',
  2949. },
  2950. textDecorationOffset: {
  2951. 'auto': 'auto',
  2952. 0: '0px',
  2953. 1: '1px',
  2954. 2: '2px',
  2955. 4: '4px',
  2956. 8: '8px',
  2957. },
  2958. textDecorationThickness: {
  2959. 'auto': 'auto',
  2960. 'from-font': 'from-font',
  2961. 0: '0px',
  2962. 1: '1px',
  2963. 2: '2px',
  2964. 4: '4px',
  2965. 8: '8px',
  2966. },
  2967. textIndent: {
  2968. DEFAULT: '1.5rem',
  2969. xs: '0.5rem',
  2970. sm: '1rem',
  2971. md: '1.5rem',
  2972. lg: '2rem',
  2973. xl: '2.5rem',
  2974. '2xl': '3rem',
  2975. '3xl': '4rem',
  2976. },
  2977. textStrokeColor: function (theme) {
  2978. var _a;
  2979. return (__assign({ DEFAULT: theme('colors.gray.200', 'currentColor') }, ((_a = theme('colors')) !== null && _a !== void 0 ? _a : {})));
  2980. },
  2981. textStrokeWidth: {
  2982. DEFAULT: 'medium',
  2983. 'none': '0',
  2984. 'sm': 'thin',
  2985. 'md': 'medium',
  2986. 'lg': 'thick',
  2987. },
  2988. transformOrigin: {
  2989. center: 'center',
  2990. top: 'top',
  2991. 'top-right': 'top right',
  2992. right: 'right',
  2993. 'bottom-right': 'bottom right',
  2994. bottom: 'bottom',
  2995. 'bottom-left': 'bottom left',
  2996. left: 'left',
  2997. 'top-left': 'top left',
  2998. },
  2999. transitionDuration: {
  3000. DEFAULT: '150ms',
  3001. 75: '75ms',
  3002. 100: '100ms',
  3003. 150: '150ms',
  3004. 200: '200ms',
  3005. 300: '300ms',
  3006. 500: '500ms',
  3007. 700: '700ms',
  3008. 1000: '1000ms',
  3009. // int >=0 -> int ms
  3010. },
  3011. transitionDelay: {
  3012. 75: '75ms',
  3013. 100: '100ms',
  3014. 150: '150ms',
  3015. 200: '200ms',
  3016. 300: '300ms',
  3017. 500: '500ms',
  3018. 700: '700ms',
  3019. 1000: '1000ms',
  3020. // int >=0 -> int ms
  3021. },
  3022. transitionProperty: {
  3023. DEFAULT: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
  3024. none: 'none',
  3025. all: 'all',
  3026. colors: 'background-color, border-color, color, fill, stroke',
  3027. opacity: 'opacity',
  3028. shadow: 'box-shadow',
  3029. transform: 'transform',
  3030. },
  3031. transitionTimingFunction: {
  3032. DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',
  3033. linear: 'linear',
  3034. in: 'cubic-bezier(0.4, 0, 1, 1)',
  3035. out: 'cubic-bezier(0, 0, 0.2, 1)',
  3036. 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
  3037. },
  3038. translate: function (theme, _a) {
  3039. var _b;
  3040. var negative = _a.negative;
  3041. return (__assign(__assign(__assign({}, ((_b = theme('spacing')) !== null && _b !== void 0 ? _b : {})), negative(theme('spacing'))), { '1/2': '50%', '1/3': '33.333333%', '2/3': '66.666667%', '1/4': '25%', '2/4': '50%', '3/4': '75%', full: '100%', '-1/2': '-50%', '-1/3': '-33.333333%', '-2/3': '-66.666667%', '-1/4': '-25%', '-2/4': '-50%', '-3/4': '-75%', '-full': '-100%' }));
  3042. },
  3043. width: function (theme, _a) {
  3044. var _b, _c;
  3045. var breakpoints = _a.breakpoints;
  3046. return (__assign(__assign(__assign(__assign({}, ((_b = theme('spacing')) !== null && _b !== void 0 ? _b : {})), tShirtScale), {
  3047. // fraction -> percent
  3048. '1/2': '50%', '1/3': '33.333333%', '2/3': '66.666667%', '1/4': '25%', '2/4': '50%', '3/4': '75%', '1/5': '20%', '2/5': '40%', '3/5': '60%', '4/5': '80%', '1/6': '16.666667%', '2/6': '33.333333%', '3/6': '50%', '4/6': '66.666667%', '5/6': '83.333333%', '1/12': '8.333333%', '2/12': '16.666667%', '3/12': '25%', '4/12': '33.333333%', '5/12': '41.666667%', '6/12': '50%', '7/12': '58.333333%', '8/12': '66.666667%', '9/12': '75%', '10/12': '83.333333%', '11/12': '91.666667%', auto: 'auto', full: '100%', min: 'min-content', max: 'max-content', prose: '65ch', screen: '100vw' }), breakpoints((_c = theme('screens')) !== null && _c !== void 0 ? _c : {})));
  3049. },
  3050. zIndex: {
  3051. auto: 'auto',
  3052. 0: '0',
  3053. 10: '10',
  3054. 20: '20',
  3055. 30: '30',
  3056. 40: '40',
  3057. 50: '50',
  3058. // int[0, 99999] -> int[0, 99999]
  3059. // ...negative
  3060. },
  3061. },
  3062. variantOrder: variantOrder,
  3063. plugins: [
  3064. createPlugin(function (_a) {
  3065. var addUtilities = _a.addUtilities;
  3066. addUtilities({
  3067. '.before\\:contents': {
  3068. '&::before': {
  3069. content: '""',
  3070. display: 'contents',
  3071. },
  3072. },
  3073. '.after\\:contents': {
  3074. '&::after': {
  3075. content: '""',
  3076. display: 'contents',
  3077. },
  3078. },
  3079. });
  3080. }),
  3081. ],
  3082. handlers: {
  3083. static: true,
  3084. time: true,
  3085. color: true,
  3086. opacity: true,
  3087. number: true,
  3088. string: true,
  3089. bracket: true,
  3090. hex: true,
  3091. nxl: true,
  3092. fraction: true,
  3093. size: true,
  3094. variable: true,
  3095. negative: true,
  3096. },
  3097. };
  3098. var twExclude = [
  3099. /-hex-/,
  3100. /-\$/,
  3101. /(rem|em|px|rpx|vh|vw|ch|ex)$/,
  3102. /-\d*[13579]$/,
  3103. /-([0-9]{1,}[.][0-9]*)$/,
  3104. /^!/, // disable important utility
  3105. ];
  3106. export { baseConfig, colors, twExclude };