mado-ui 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index.css +563 -0
- package/dist/components/drop-down.d.ts +5 -4
- package/dist/components/iframe.d.ts +5 -5
- package/dist/components/index.d.ts +2 -0
- package/dist/components/video.d.ts +30 -0
- package/dist/components.esm.js +426 -8
- package/dist/components.esm.js.map +1 -1
- package/dist/components.js +427 -7
- package/dist/components.js.map +1 -1
- package/dist/hooks/create-fast-context.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -2
- package/dist/hooks.esm.js.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/icons/10-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/10-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/15-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/15-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/3-people.d.ts +1 -1
- package/dist/icons/3-rectangles-desktop-fill.d.ts +1 -1
- package/dist/icons/3-rectangles-desktop.d.ts +1 -1
- package/dist/icons/30-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/30-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/45-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/45-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/5-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/5-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/60-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/60-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/75-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/75-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/90-arrow-trianglehead-clockwise.d.ts +2 -0
- package/dist/icons/90-arrow-trianglehead-counterclockwise.d.ts +2 -0
- package/dist/icons/airplane.d.ts +1 -1
- package/dist/icons/arrow-down-backward-and-arrow-up-forward-rectangle.d.ts +2 -0
- package/dist/icons/arrow-triangle-2-circlepath-circle-fill.d.ts +1 -1
- package/dist/icons/arrow-triangle-2-circlepath-circle.d.ts +1 -1
- package/dist/icons/arrow-up-forward-and-arrow-down-backward-rectangle.d.ts +2 -0
- package/dist/icons/bag-fill.d.ts +1 -1
- package/dist/icons/banknote.d.ts +1 -1
- package/dist/icons/bell-fill.d.ts +1 -1
- package/dist/icons/bolt-car.d.ts +1 -1
- package/dist/icons/bolt-fill.d.ts +1 -1
- package/dist/icons/bolt-ring-closed.d.ts +1 -1
- package/dist/icons/bolt-trianglebadge-exclamationmark.d.ts +1 -1
- package/dist/icons/book-fill.d.ts +1 -1
- package/dist/icons/bookmark-fill.d.ts +1 -1
- package/dist/icons/briefcase-fill.d.ts +1 -1
- package/dist/icons/bubble-left-fill.d.ts +1 -1
- package/dist/icons/building-2-fill.d.ts +1 -1
- package/dist/icons/calendar.d.ts +1 -1
- package/dist/icons/camera-fill.d.ts +1 -1
- package/dist/icons/car-fill.d.ts +1 -1
- package/dist/icons/cart-fill.d.ts +1 -1
- package/dist/icons/chart-bar-doc-horizontal.d.ts +1 -1
- package/dist/icons/checkmark-seal.d.ts +1 -1
- package/dist/icons/checkmark.d.ts +1 -1
- package/dist/icons/chevron-compact-down.d.ts +1 -1
- package/dist/icons/chevron-down.d.ts +1 -1
- package/dist/icons/chevron-left-forwardslash-chevron-right.d.ts +1 -1
- package/dist/icons/chevron-left.d.ts +1 -1
- package/dist/icons/chevron-right.d.ts +1 -1
- package/dist/icons/chevron-up-chevron-down.d.ts +1 -1
- package/dist/icons/circle-fill.d.ts +1 -1
- package/dist/icons/clock-badge-checkmark.d.ts +1 -1
- package/dist/icons/clock-fill.d.ts +1 -1
- package/dist/icons/cloud-fill.d.ts +1 -1
- package/dist/icons/cube-fill.d.ts +1 -1
- package/dist/icons/curve-point-left.d.ts +1 -1
- package/dist/icons/dial-high.d.ts +1 -1
- package/dist/icons/doc-fill.d.ts +1 -1
- package/dist/icons/doc-on-clipboard.d.ts +1 -1
- package/dist/icons/doc-on-doc-fill.d.ts +1 -1
- package/dist/icons/doc-on-doc.d.ts +1 -1
- package/dist/icons/doc-text-magnifyingglass.d.ts +1 -1
- package/dist/icons/dollar-sign.d.ts +1 -1
- package/dist/icons/ellipsis-circle-fill.d.ts +1 -1
- package/dist/icons/ellipsis-circle.d.ts +1 -1
- package/dist/icons/envelope-fill.d.ts +1 -1
- package/dist/icons/envelope.d.ts +1 -1
- package/dist/icons/exclamationmark-octagon.d.ts +1 -1
- package/dist/icons/eye.d.ts +1 -1
- package/dist/icons/figure-water-fitness.d.ts +1 -1
- package/dist/icons/flag-fill.d.ts +1 -1
- package/dist/icons/flame-fill.d.ts +1 -1
- package/dist/icons/folder-fill.d.ts +1 -1
- package/dist/icons/folder.d.ts +1 -1
- package/dist/icons/gearshape-fill.d.ts +1 -1
- package/dist/icons/gearshape.d.ts +1 -1
- package/dist/icons/gift-fill.d.ts +1 -1
- package/dist/icons/globe-americas-fill.d.ts +1 -1
- package/dist/icons/hare-fill.d.ts +1 -1
- package/dist/icons/house-deskclock.d.ts +1 -1
- package/dist/icons/house-fill.d.ts +1 -1
- package/dist/icons/house.d.ts +1 -1
- package/dist/icons/index.d.ts +143 -104
- package/dist/icons/iphone-house.d.ts +1 -1
- package/dist/icons/light-ribbon.d.ts +1 -1
- package/dist/icons/lightbulb-fill.d.ts +1 -1
- package/dist/icons/lightbulb-led.d.ts +1 -1
- package/dist/icons/list-bullet-clipboard-fill.d.ts +1 -1
- package/dist/icons/magnifyingglass.d.ts +1 -1
- package/dist/icons/map-pin-ellipse.d.ts +1 -1
- package/dist/icons/minus-plus-batterblock.d.ts +1 -1
- package/dist/icons/network-shield.d.ts +1 -1
- package/dist/icons/network.d.ts +1 -1
- package/dist/icons/newspaper-fill.d.ts +1 -1
- package/dist/icons/number.d.ts +1 -1
- package/dist/icons/paperplane-fill.d.ts +1 -1
- package/dist/icons/pause-fill.d.ts +2 -0
- package/dist/icons/person-crop-square.d.ts +1 -1
- package/dist/icons/person-fill-questionmark.d.ts +1 -1
- package/dist/icons/person-fill.d.ts +1 -1
- package/dist/icons/person.d.ts +1 -1
- package/dist/icons/phone-arrow-up-right.d.ts +1 -1
- package/dist/icons/phone-fill.d.ts +1 -1
- package/dist/icons/phone.d.ts +1 -1
- package/dist/icons/photo-badge-arrow-down-fill.d.ts +2 -0
- package/dist/icons/photo-badge-arrow-down.d.ts +2 -0
- package/dist/icons/play-fill.d.ts +2 -0
- package/dist/icons/play-rectangle-fill.d.ts +1 -1
- package/dist/icons/plus.d.ts +1 -1
- package/dist/icons/qrcode.d.ts +1 -1
- package/dist/icons/rectangle-fill-on-arrow-down-forward-topleading-rectangle.d.ts +2 -0
- package/dist/icons/rectangle-fill.d.ts +2 -0
- package/dist/icons/rectangle-portrait-and-arrow-left-fill.d.ts +1 -1
- package/dist/icons/rectangle-portrait-and-arrow-left.d.ts +1 -1
- package/dist/icons/rectangle-triangle-up.d.ts +2 -0
- package/dist/icons/rectangle.d.ts +2 -0
- package/dist/icons/sensor.d.ts +1 -1
- package/dist/icons/signature.d.ts +1 -1
- package/dist/icons/solar-panel.d.ts +1 -1
- package/dist/icons/speaker-fill.d.ts +2 -0
- package/dist/icons/speaker-minus-fill.d.ts +2 -0
- package/dist/icons/speaker-minus.d.ts +2 -0
- package/dist/icons/speaker-plus-fill.d.ts +2 -0
- package/dist/icons/speaker-plus.d.ts +2 -0
- package/dist/icons/speaker-slash-fill.d.ts +2 -0
- package/dist/icons/speaker-slash.d.ts +2 -0
- package/dist/icons/speaker-wave-1-fill.d.ts +2 -0
- package/dist/icons/speaker-wave-1.d.ts +2 -0
- package/dist/icons/speaker-wave-2-fill.d.ts +2 -0
- package/dist/icons/speaker-wave-2.d.ts +2 -0
- package/dist/icons/speaker-wave-3-fill.d.ts +2 -0
- package/dist/icons/speaker-wave-3.d.ts +2 -0
- package/dist/icons/speaker.d.ts +2 -0
- package/dist/icons/square-and-arrow-down-fill.d.ts +1 -1
- package/dist/icons/square-and-arrow-down.d.ts +1 -1
- package/dist/icons/square-and-arrow-up-fill.d.ts +1 -1
- package/dist/icons/square-and-arrow-up.d.ts +1 -1
- package/dist/icons/square-and-pencil-fill.d.ts +1 -1
- package/dist/icons/square-and-pencil.d.ts +1 -1
- package/dist/icons/text-bubble.d.ts +1 -1
- package/dist/icons/trash-fill.d.ts +1 -1
- package/dist/icons/trash.d.ts +1 -1
- package/dist/icons/tree.d.ts +1 -1
- package/dist/icons/umbrella-fill.d.ts +1 -1
- package/dist/icons/xmark.d.ts +1 -1
- package/dist/icons.esm.js +162 -2
- package/dist/icons.esm.js.map +1 -1
- package/dist/icons.js +203 -3
- package/dist/icons.js.map +1 -1
- package/dist/index.esm.js +426 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +427 -7
- package/dist/index.js.map +1 -1
- package/package.json +95 -94
package/dist/components.esm.js
CHANGED
|
@@ -1007,6 +1007,14 @@ function createButton(config) {
|
|
|
1007
1007
|
};
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
+
function ArrowDownBackwardAndArrowUpForwardRectangle(props) {
|
|
1011
|
+
return (jsxs("svg", { viewBox: "0 0 64 50", ...props, children: [jsx("path", { d: "M47.367,23.338C48.497,23.338 49.292,22.451 49.292,21.27L49.292,10.565C49.292,9.055 48.445,8.438 47.114,8.438L36.346,8.438C35.165,8.438 34.335,9.205 34.335,10.334C34.335,11.487 35.165,12.259 36.403,12.259L39.919,12.259L43.287,11.931L39.659,15.26L34.041,20.906C33.701,21.246 33.424,21.765 33.424,22.295C33.424,23.453 34.219,24.249 35.349,24.249C35.971,24.249 36.432,24.03 36.83,23.632L42.413,18.049L45.794,14.449L45.443,18.028L45.443,21.327C45.443,22.508 46.215,23.338 47.367,23.338Z" }), jsx("path", { d: "M16.662,26.661C15.503,26.661 14.737,27.548 14.737,28.729L14.737,39.434C14.737,40.944 15.584,41.56 16.886,41.56L27.683,41.56C28.835,41.56 29.665,40.794 29.665,39.664C29.665,38.512 28.835,37.74 27.626,37.74L24.08,37.74L20.741,38.068L24.37,34.739L29.959,29.092C30.328,28.752 30.605,28.205 30.605,27.703C30.605,26.517 29.809,25.75 28.68,25.75C28.057,25.75 27.568,25.969 27.199,26.367L21.587,31.95L18.235,35.521L18.557,31.971L18.557,28.672C18.557,27.491 17.785,26.661 16.662,26.661Z" }), jsx("path", { d: "M8.518,49.999C2.857,49.999 0,47.171 0,41.567L0,8.432C0,2.828 2.857,0 8.518,0L55.482,0C61.172,0 64,2.84 64,8.432L64,41.567C64,47.159 61.172,49.999 55.482,49.999L8.518,49.999ZM8.587,45.603L55.412,45.603C58.1,45.603 59.633,44.152 59.633,41.354L59.633,8.645C59.633,5.818 58.1,4.396 55.412,4.396L8.587,4.396C5.876,4.396 4.367,5.818 4.367,8.645L4.367,41.354C4.367,44.152 5.876,45.603 8.587,45.603Z" })] }));
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
function ArrowUpForwardAndArrowDownBackwardRectangle(props) {
|
|
1015
|
+
return (jsxs("svg", { viewBox: "0 0 64 50", ...props, children: [jsx("path", { d: "M35.349,9.32C34.196,9.32 33.424,10.202 33.424,11.389L33.424,22.094C33.424,23.597 34.277,24.249 35.573,24.249L46.37,24.249C47.528,24.249 48.352,23.448 48.352,22.324C48.352,21.166 47.528,20.399 46.313,20.399L42.773,20.399L39.429,20.751L43.063,17.393L48.652,11.775C49.015,11.406 49.292,10.893 49.292,10.363C49.292,9.199 48.502,8.438 47.367,8.438C46.745,8.438 46.261,8.658 45.892,9.02L40.28,14.632L36.928,18.209L37.244,14.625L37.244,11.36C37.244,10.144 36.478,9.32 35.349,9.32Z" }), jsx("path", { d: "M28.68,40.678C29.804,40.678 30.605,39.797 30.605,38.581L30.605,27.905C30.605,26.401 29.752,25.75 28.427,25.75L17.658,25.75C16.471,25.75 15.648,26.522 15.648,27.675C15.648,28.833 16.471,29.599 17.716,29.599L21.226,29.599L24.6,29.248L20.966,32.606L15.348,38.224C15.014,38.593 14.737,39.105 14.737,39.636C14.737,40.8 15.526,41.56 16.662,41.56C17.284,41.56 17.739,41.341 18.137,40.978L23.72,35.366L27.101,31.789L26.755,35.374L26.755,38.639C26.755,39.854 27.522,40.678 28.68,40.678Z" }), jsx("path", { d: "M8.518,49.999C2.857,49.999 0,47.171 0,41.567L0,8.432C0,2.828 2.857,0 8.518,0L55.482,0C61.172,0 64,2.84 64,8.432L64,41.567C64,47.159 61.172,49.999 55.482,49.999L8.518,49.999ZM8.587,45.603L55.412,45.603C58.1,45.603 59.633,44.152 59.633,41.354L59.633,8.645C59.633,5.818 58.1,4.396 55.412,4.396L8.587,4.396C5.876,4.396 4.367,5.818 4.367,8.645L4.367,41.354C4.367,44.152 5.876,45.603 8.587,45.603Z" })] }));
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1010
1018
|
function ChevronDown(props) {
|
|
1011
1019
|
return (jsx("svg", { viewBox: '0 0 64 36', ...props, children: jsx("path", { d: 'M32,36c1,0,1.8-0.4,2.5-1.1L63,5.7c0.7-0.7,1-1.4,1-2.3c0-1-0.3-1.8-1-2.4c-0.6-0.7-1.4-1-2.3-1s-1.7,0.3-2.4,1L30,29.8H34 L5.7,1C5.1,0.3,4.3,0,3.4,0C2.4,0,1.6,0.3,1,1C0.3,1.6,0,2.4,0,3.4c0,0.9,0.3,1.7,1,2.3l28.5,29.2C30.3,35.7,31.1,36,32,36z' }) }));
|
|
1012
1020
|
}
|
|
@@ -1015,7 +1023,91 @@ function ExclamationmarkOctagon(props) {
|
|
|
1015
1023
|
return (jsxs("svg", { viewBox: '0 0 64 61.6', ...props, children: [jsx("path", { d: 'M61.4,16.8l-12.1-13.3C47.3,1.3,45.4,0,41.4,0h-18.9C18.6,0,16.7,1.3,14.7,3.5L2.6,16.8c-2,2.3-2.6,3.8-2.6,6.9v14.2c0,3.1.5,4.6,2.6,6.9l12.1,13.3c2,2.2,3.9,3.5,7.8,3.5h18.9c4,0,5.8-1.3,7.9-3.5l12.1-13.3c2.1-2.3,2.6-3.8,2.6-6.9v-14.2c0-3.1-.5-4.6-2.6-6.9ZM58.2,37.3c0,2.3-.3,3.1-1.5,4.4l-11.2,12.3c-1.7,1.9-2.6,2.5-5.8,2.5h-15.5c-3.1,0-4-.7-5.7-2.5l-11.2-12.3c-1.2-1.4-1.5-2.2-1.5-4.4v-13.1c0-2.3.3-3.1,1.5-4.4l11.2-12.3c1.7-1.9,2.6-2.5,5.7-2.5h15.5c3.1,0,4,.7,5.8,2.5l11.2,12.3c1.3,1.4,1.5,2.2,1.5,4.4v13.1Z' }), jsx("path", { d: 'M32,36.4c1.5,0,2.4-.9,2.4-2.5l.4-16.4c0-1.6-1.2-2.8-2.9-2.8s-2.9,1.1-2.8,2.7l.4,16.5c0,1.6.9,2.5,2.4,2.5Z' }), jsx("path", { d: 'M32,46.5c1.8,0,3.4-1.4,3.4-3.2s-1.5-3.2-3.4-3.2-3.3,1.4-3.3,3.2,1.5,3.2,3.3,3.2Z' })] }));
|
|
1016
1024
|
}
|
|
1017
1025
|
|
|
1018
|
-
function
|
|
1026
|
+
function FifteenArrowTriangleheadClockwise(props) {
|
|
1027
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,24.967 53.645,16.446 46.273,11.115C45.02,10.166 43.366,10.489 42.667,11.662C41.944,12.848 42.327,14.192 43.476,15.079C49.571,19.462 53.573,26.628 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,23.179 12.932,13.576 23.706,11.072L23.706,15.18C23.706,17.212 25.087,17.76 26.657,16.652L35.809,10.242C37.117,9.311 37.147,7.954 35.809,7.023L26.687,0.583C25.087,-0.555 23.706,-0.007 23.706,2.055L23.706,6.098C10.28,8.639 0,20.497 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M21.596,46.561C22.831,46.561 23.585,45.673 23.585,44.438L23.585,26.365C23.585,24.935 22.709,24.096 21.286,24.096C20.118,24.096 19.316,24.613 18.416,25.288L15.162,27.705C14.602,28.131 14.267,28.587 14.267,29.287C14.267,30.108 14.864,30.765 15.685,30.765C16.081,30.765 16.361,30.638 16.689,30.376L19.522,28.258L19.577,28.258L19.577,44.438C19.577,45.679 20.355,46.561 21.596,46.561Z" }), jsx("path", { d: "M35.688,46.737C40.143,46.737 42.94,43.446 42.94,38.968C42.94,35.128 40.739,31.849 36.971,31.849C35.045,31.849 33.472,32.702 32.678,34.178L32.563,34.178L33.076,27.668L40.364,27.668C41.319,27.668 41.952,27.011 41.952,26.055C41.952,25.07 41.349,24.443 40.364,24.443L32.079,24.443C30.576,24.443 29.87,25.234 29.797,26.737L29.174,35.098C29.077,36.358 29.74,37.307 31.012,37.307C31.918,37.307 32.308,36.959 32.898,36.259C33.588,35.337 34.559,34.763 35.719,34.763C37.953,34.763 39.089,36.789 39.089,39.065C39.089,41.511 37.856,43.543 35.664,43.543C33.949,43.543 32.807,42.432 32.258,40.955C31.838,40.139 31.279,39.731 30.518,39.731C29.502,39.731 28.876,40.364 28.876,41.38C28.876,41.721 28.949,42.08 29.022,42.397C29.735,45.128 32.902,46.737 35.688,46.737Z" })] }));
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
function FifteenArrowTriangleheadCounterclockwise(props) {
|
|
1031
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,20.497 48.145,8.639 34.75,6.098L34.75,2.055C34.75,-0.007 33.339,-0.555 31.762,0.583L22.647,7.023C21.308,7.954 21.339,9.311 22.647,10.242L31.793,16.652C33.339,17.76 34.75,17.212 34.75,15.18L34.75,11.072C45.518,13.576 53.573,23.179 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,26.628 8.879,19.462 14.98,15.079C16.129,14.192 16.512,12.848 15.782,11.662C15.089,10.489 13.436,10.166 12.152,11.115C4.781,16.446 0,24.967 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M21.596,46.561C22.831,46.561 23.585,45.673 23.585,44.438L23.585,26.365C23.585,24.935 22.709,24.096 21.286,24.096C20.118,24.096 19.316,24.613 18.416,25.288L15.162,27.705C14.602,28.131 14.267,28.587 14.267,29.287C14.267,30.108 14.864,30.765 15.685,30.765C16.081,30.765 16.361,30.638 16.689,30.376L19.522,28.258L19.577,28.258L19.577,44.438C19.577,45.679 20.355,46.561 21.596,46.561Z" }), jsx("path", { d: "M35.688,46.737C40.143,46.737 42.94,43.446 42.94,38.968C42.94,35.128 40.739,31.849 36.971,31.849C35.045,31.849 33.472,32.702 32.678,34.178L32.563,34.178L33.076,27.668L40.364,27.668C41.319,27.668 41.952,27.011 41.952,26.055C41.952,25.07 41.349,24.443 40.364,24.443L32.079,24.443C30.576,24.443 29.87,25.234 29.797,26.737L29.174,35.098C29.077,36.358 29.74,37.307 31.012,37.307C31.918,37.307 32.308,36.959 32.898,36.259C33.588,35.337 34.559,34.763 35.719,34.763C37.953,34.763 39.089,36.789 39.089,39.065C39.089,41.511 37.856,43.543 35.664,43.543C33.949,43.543 32.807,42.432 32.258,40.955C31.838,40.139 31.279,39.731 30.518,39.731C29.502,39.731 28.876,40.364 28.876,41.38C28.876,41.721 28.949,42.08 29.022,42.397C29.735,45.128 32.902,46.737 35.688,46.737Z" })] }));
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
function FiveArrowTriangleheadClockwise(props) {
|
|
1035
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,24.967 53.645,16.446 46.273,11.115C45.02,10.166 43.366,10.489 42.667,11.662C41.944,12.848 42.327,14.192 43.476,15.079C49.571,19.462 53.573,26.628 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,23.179 12.932,13.576 23.706,11.072L23.706,15.18C23.706,17.212 25.087,17.76 26.657,16.652L35.809,10.242C37.117,9.311 37.147,7.954 35.809,7.023L26.687,0.583C25.087,-0.555 23.706,-0.007 23.706,2.055L23.706,6.098C10.28,8.639 0,20.497 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M29.316,46.78C33.77,46.78 36.567,43.459 36.567,39.017C36.567,35.17 34.402,31.892 30.599,31.892C28.703,31.892 27.099,32.745 26.306,34.221L26.19,34.221L26.703,27.686L33.991,27.686C34.946,27.686 35.579,27.053 35.579,26.098C35.579,25.119 34.977,24.486 33.991,24.486L25.707,24.486C24.203,24.486 23.498,25.277 23.424,26.78L22.808,35.111C22.735,36.407 23.367,37.35 24.639,37.35C25.552,37.35 25.966,36.972 26.532,36.302C27.222,35.38 28.186,34.806 29.347,34.806C31.586,34.806 32.717,36.838 32.717,39.108C32.717,41.554 31.483,43.586 29.291,43.586C27.576,43.586 26.434,42.475 25.885,40.967C25.502,40.188 24.906,39.774 24.145,39.774C23.16,39.774 22.533,40.407 22.533,41.423C22.533,41.764 22.576,42.093 22.649,42.416C23.362,45.171 26.53,46.78 29.316,46.78Z" })] }));
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
function FiveArrowTriangleheadCounterclockwise(props) {
|
|
1039
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,20.497 48.145,8.639 34.75,6.098L34.75,2.055C34.75,-0.007 33.339,-0.555 31.762,0.583L22.647,7.023C21.308,7.954 21.339,9.311 22.647,10.242L31.793,16.652C33.339,17.76 34.75,17.212 34.75,15.18L34.75,11.072C45.518,13.576 53.573,23.179 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,26.628 8.879,19.462 14.98,15.079C16.129,14.192 16.512,12.848 15.782,11.662C15.089,10.489 13.436,10.166 12.152,11.115C4.781,16.446 0,24.967 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M29.316,46.78C33.77,46.78 36.567,43.459 36.567,39.017C36.567,35.17 34.402,31.892 30.599,31.892C28.703,31.892 27.099,32.745 26.306,34.221L26.19,34.221L26.703,27.686L33.991,27.686C34.946,27.686 35.579,27.053 35.579,26.098C35.579,25.119 34.977,24.486 33.991,24.486L25.707,24.486C24.203,24.486 23.498,25.277 23.424,26.78L22.808,35.111C22.735,36.407 23.367,37.35 24.639,37.35C25.552,37.35 25.966,36.972 26.532,36.302C27.222,35.38 28.186,34.806 29.347,34.806C31.586,34.806 32.717,36.838 32.717,39.108C32.717,41.554 31.483,43.586 29.291,43.586C27.576,43.586 26.434,42.475 25.885,40.967C25.502,40.188 24.906,39.774 24.145,39.774C23.16,39.774 22.533,40.407 22.533,41.423C22.533,41.764 22.576,42.093 22.649,42.416C23.362,45.171 26.53,46.78 29.316,46.78Z" })] }));
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
function GearshapeFill(props) {
|
|
1043
|
+
return (jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsx("path", { d: 'M63.1,27.4c-0.4-0.5-1-0.9-1.8-1.1l-6.7-1.6c-0.2-0.6-0.4-1.2-0.7-1.8c-0.2-0.6-0.5-1.1-0.7-1.5l3.6-5.9 c0.4-0.7,0.6-1.4,0.6-2.1c-0.1-0.7-0.4-1.3-0.9-1.9l-4-3.9c-0.6-0.5-1.2-0.8-1.8-0.9s-1.3,0.1-2,0.4l-6,3.7c-0.5-0.2-1-0.5-1.6-0.7 s-1.2-0.4-1.8-0.6l-1.6-6.8c-0.2-0.8-0.6-1.4-1.1-1.9c-0.6-0.4-1.2-0.7-2-0.7H29c-0.8,0-1.5,0.2-2,0.7c-0.5,0.4-0.9,1.1-1.1,1.9 l-1.6,6.8c-0.6,0.2-1.2,0.4-1.7,0.6s-1.1,0.5-1.6,0.7l-6-3.7c-1.4-0.8-2.7-0.6-3.8,0.5l-4,3.9c-0.6,0.6-0.9,1.2-0.9,1.9 s0.1,1.4,0.6,2.1l3.6,5.9c-0.2,0.5-0.4,1-0.6,1.5c-0.2,0.6-0.4,1.2-0.6,1.8l-6.7,1.6c-0.8,0.2-1.4,0.5-1.8,1.1 c-0.4,0.5-0.7,1.2-0.7,2v5.5c0,0.8,0.2,1.5,0.7,2.1c0.4,0.5,1,0.9,1.8,1.1l6.8,1.6c0.2,0.5,0.3,1.1,0.6,1.6c0.2,0.6,0.5,1.1,0.7,1.6 l-3.6,5.8c-0.5,0.7-0.6,1.4-0.6,2.1c0.1,0.7,0.4,1.4,0.9,1.9l3.9,3.9c0.5,0.5,1.2,0.8,1.9,0.9c0.7,0.1,1.4-0.1,2.1-0.5l5.9-3.6 c0.5,0.2,1,0.5,1.6,0.7s1.2,0.4,1.7,0.6l1.6,6.7c0.2,0.8,0.5,1.4,1.1,1.9c0.5,0.5,1.1,0.7,1.9,0.7h5.6c0.8,0,1.5-0.2,2-0.7 c0.6-0.4,0.9-1.1,1.1-1.9l1.6-6.7c0.6-0.2,1.2-0.4,1.8-0.6c0.6-0.2,1.1-0.5,1.6-0.7l5.9,3.6c0.7,0.4,1.3,0.6,2,0.5s1.3-0.4,1.9-0.9 l3.9-3.9c0.6-0.6,0.9-1.2,0.9-1.9c0.1-0.7-0.1-1.4-0.6-2.1l-3.6-5.8c0.3-0.5,0.5-1.1,0.7-1.6c0.2-0.6,0.4-1.1,0.6-1.6l6.8-1.6 c0.8-0.2,1.4-0.5,1.8-1.1c0.4-0.5,0.6-1.2,0.6-2.1v-5.5C63.7,28.6,63.5,28,63.1,27.4z M41.3,37.4c-1,1.6-2.3,3-3.9,3.9 c-1.6,1-3.5,1.5-5.4,1.5c-2,0-3.8-0.5-5.4-1.5s-2.9-2.3-3.9-3.9s-1.5-3.5-1.5-5.4c0-2,0.5-3.8,1.5-5.4s2.3-2.9,3.9-3.9 s3.5-1.5,5.4-1.5c2,0,3.8,0.5,5.4,1.5s2.9,2.3,3.9,3.9s1.5,3.4,1.5,5.4S42.3,35.8,41.3,37.4z' }) }));
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
function NinetyArrowTriangleheadClockwise(props) {
|
|
1047
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,24.967 53.645,16.446 46.273,11.115C45.02,10.166 43.366,10.489 42.667,11.662C41.944,12.848 42.327,14.192 43.476,15.079C49.571,19.462 53.573,26.628 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,23.179 12.932,13.576 23.706,11.072L23.706,15.18C23.706,17.212 25.087,17.76 26.657,16.652L35.809,10.242C37.117,9.311 37.147,7.954 35.809,7.023L26.687,0.583C25.087,-0.555 23.706,-0.007 23.706,2.055L23.706,6.098C10.28,8.639 0,20.497 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M19.89,46.737C17.79,46.737 15.894,45.911 14.713,44.519C14.045,43.807 13.498,42.846 13.498,41.983C13.498,41.094 14.088,40.316 15.134,40.316C16.041,40.316 16.515,40.73 16.978,41.528C17.642,42.743 18.558,43.513 20.048,43.513C23.381,43.513 24.059,38.718 24.041,35.192C24.041,35.101 24.035,35.009 24.035,34.936L23.992,34.936C23.358,37.077 21.558,38.717 18.882,38.717C15.139,38.717 12.804,35.469 12.804,31.592C12.804,27.162 15.741,23.901 20,23.901C25.594,23.901 27.818,29.349 27.818,35.096C27.818,40.891 25.911,46.737 19.89,46.737ZM20.037,35.675C22.154,35.675 23.505,33.747 23.505,31.55C23.505,29.291 22.209,27.126 20.097,27.126C17.9,27.126 16.654,29.262 16.654,31.441C16.654,33.607 17.845,35.675 20.037,35.675Z" }), jsx("path", { d: "M38.891,46.737C33.249,46.737 31.238,41.001 31.238,35.298C31.238,29.686 33.224,23.895 38.891,23.895C44.503,23.895 46.508,29.656 46.508,35.298C46.508,40.94 44.522,46.737 38.891,46.737ZM38.891,43.483C41.262,43.483 42.469,39.978 42.469,35.298C42.469,30.673 41.256,27.168 38.891,27.168C36.496,27.168 35.277,30.661 35.277,35.298C35.277,39.978 36.496,43.483 38.891,43.483Z" })] }));
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
function NinetyArrowTriangleheadCounterclockwise(props) {
|
|
1051
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,20.497 48.145,8.639 34.75,6.098L34.75,2.055C34.75,-0.007 33.339,-0.555 31.762,0.583L22.647,7.023C21.308,7.954 21.339,9.311 22.647,10.242L31.793,16.652C33.339,17.76 34.75,17.212 34.75,15.18L34.75,11.072C45.518,13.576 53.573,23.179 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,26.628 8.879,19.462 14.98,15.079C16.129,14.192 16.512,12.848 15.782,11.662C15.089,10.489 13.436,10.166 12.152,11.115C4.781,16.446 0,24.967 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M19.89,46.737C17.79,46.737 15.894,45.911 14.713,44.519C14.045,43.807 13.498,42.846 13.498,41.983C13.498,41.094 14.088,40.316 15.134,40.316C16.041,40.316 16.515,40.73 16.978,41.528C17.642,42.743 18.558,43.513 20.048,43.513C23.381,43.513 24.059,38.718 24.041,35.192C24.041,35.101 24.035,35.009 24.035,34.936L23.992,34.936C23.358,37.077 21.558,38.717 18.882,38.717C15.139,38.717 12.804,35.469 12.804,31.592C12.804,27.162 15.741,23.901 20,23.901C25.594,23.901 27.818,29.349 27.818,35.096C27.818,40.891 25.911,46.737 19.89,46.737ZM20.037,35.675C22.154,35.675 23.505,33.747 23.505,31.55C23.505,29.291 22.209,27.126 20.097,27.126C17.9,27.126 16.654,29.262 16.654,31.441C16.654,33.607 17.845,35.675 20.037,35.675Z" }), jsx("path", { d: "M38.891,46.737C33.249,46.737 31.238,41.001 31.238,35.298C31.238,29.686 33.224,23.895 38.891,23.895C44.503,23.895 46.508,29.656 46.508,35.298C46.508,40.94 44.522,46.737 38.891,46.737ZM38.891,43.483C41.262,43.483 42.469,39.978 42.469,35.298C42.469,30.673 41.256,27.168 38.891,27.168C36.496,27.168 35.277,30.661 35.277,35.298C35.277,39.978 36.496,43.483 38.891,43.483Z" })] }));
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
function PauseFill(props) {
|
|
1055
|
+
return (jsxs("svg", { viewBox: "0 0 48 64", ...props, children: [jsx("path", { d: "M5.172,64L13.97,64C17.334,64 19.102,62.233 19.102,58.828L19.102,5.172C19.102,1.603 17.334,0 13.97,0L5.172,0C1.767,0 0,1.767 0,5.172L0,58.828C0,62.233 1.767,64 5.172,64Z" }), jsx("path", { d: "M33.29,64L42.088,64C45.452,64 47.219,62.233 47.219,58.828L47.219,5.172C47.219,1.603 45.452,0 42.088,0L33.29,0C29.885,0 28.117,1.767 28.117,5.172L28.117,58.828C28.117,62.233 29.885,64 33.29,64Z" })] }));
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
function PhotoBadgeArrowDownFill(props) {
|
|
1059
|
+
return (jsxs("svg", { ...props, viewBox: '0 0 64 47', children: [jsx("path", { d: 'M39.47,42.309L7.208,42.309C2.418,42.309 0,39.916 0,35.174L0,7.135C0,2.393 2.418,0 7.208,0L46.949,0C51.764,0 54.157,2.403 54.157,7.135L54.157,20.285C53.553,20.209 52.938,20.17 52.314,20.17C48.505,20.17 45.008,21.646 42.371,24.051L39.912,21.77C38.817,20.748 37.502,20.254 36.25,20.254C34.946,20.254 33.685,20.724 32.536,21.741L21.575,31.464L17.193,27.501C16.157,26.578 14.984,26.123 13.87,26.123C12.844,26.123 11.754,26.578 10.743,27.467L3.696,33.628L3.696,35.019C3.696,37.288 5.036,38.599 7.276,38.599L37.963,38.599C38.297,39.914 38.809,41.159 39.47,42.309ZM17.238,21.73C20.32,21.73 22.876,19.175 22.876,16.063C22.876,12.955 20.32,10.371 17.238,10.371C14.101,10.371 11.546,12.955 11.546,16.063C11.546,19.175 14.101,21.73 17.238,21.73Z' }), jsx("path", { d: 'M52.314,46.635C45.924,46.635 40.653,41.398 40.653,34.973C40.653,28.579 45.924,23.312 52.314,23.312C58.739,23.312 64,28.574 64,34.973C64,41.349 58.661,46.635 52.314,46.635ZM52.368,42.342C52.749,42.342 53.046,42.152 53.436,41.786L58.587,37.083C58.934,36.761 59.08,36.458 59.08,36.019C59.08,35.233 58.466,34.599 57.68,34.648C57.275,34.667 56.924,34.833 56.636,35.126L55.251,36.516L53.759,38.062L53.88,35.143L53.88,29.029C53.88,28.234 53.197,27.565 52.368,27.565C51.519,27.565 50.827,28.234 50.827,29.029L50.827,35.143L50.958,38.062L49.431,36.516L48.081,35.126C47.788,34.833 47.412,34.624 47.007,34.648C46.222,34.648 45.583,35.233 45.631,36.019C45.631,36.463 45.778,36.761 46.125,37.083L51.251,41.786C51.646,42.186 51.973,42.342 52.368,42.342Z' })] }));
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
function PlayFill(props) {
|
|
1063
|
+
return (jsx("svg", { viewBox: "0 0 57 64", ...props, children: jsx("path", { d: "M-0,58.454C-0,62.219 2.163,64 4.77,64C5.895,64 7.11,63.644 8.251,63.02L52.662,37.083C55.817,35.222 56.911,34.016 56.911,32C56.911,29.984 55.817,28.778 52.662,26.917L8.251,0.979C7.11,0.356 5.895,0 4.77,0C2.163,0 -0,1.781 -0,5.547L-0,58.454Z" }) }));
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
function RectangleFillOnArrowDownForwardTopleadingRectangle(props) {
|
|
1067
|
+
return (jsxs("svg", { viewBox: "0 0 64 52", ...props, children: [jsx("path", { d: "M19.38,10.183C19.268,9.671 18.883,9.262 18.378,9.12C17.873,8.978 17.331,9.126 16.968,9.504C15.945,10.565 14.348,12.23 14.348,12.23L9.51,7.393C9.22,7.107 8.863,6.947 8.392,6.947C7.5,6.947 6.924,7.523 6.924,8.415C6.924,8.798 7.126,9.197 7.391,9.466L12.253,14.329C12.253,14.329 10.5,16.069 9.435,17.126C9.071,17.487 8.938,18.019 9.09,18.508C9.241,18.998 9.652,19.362 10.155,19.454C10.16,19.452 10.164,19.453 10.168,19.454L19.29,20.924C20.3,20.924 20.943,20.449 20.943,19.289L19.387,10.213C19.385,10.203 19.382,10.193 19.38,10.183Z" }), jsx("path", { d: "M6.918,40.609C2.32,40.609 0,38.312 0,33.761L0,6.848C0,2.297 2.32,0 6.918,0L45.062,0C49.683,0 51.981,2.307 51.981,6.848L51.981,33.761C51.981,38.302 49.683,40.609 45.062,40.609L6.918,40.609ZM6.975,37.038L45.006,37.038C47.189,37.038 48.433,35.86 48.433,33.587L48.433,7.021C48.433,4.726 47.189,3.57 45.006,3.57L6.975,3.57C4.772,3.57 3.547,4.726 3.547,7.021L3.547,33.587C3.547,35.86 4.772,37.038 6.975,37.038Z" }), jsx("path", { d: "M28.884,51.863L58.609,51.863C62.21,51.863 64,50.066 64,46.526L64,25.554C64,22.015 62.21,20.217 58.609,20.217L28.884,20.217C25.301,20.217 23.492,22.007 23.492,25.554L23.492,46.526C23.492,50.073 25.301,51.863 28.884,51.863Z" })] }));
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
function RectangleTriangleUp(props) {
|
|
1071
|
+
return (jsxs("svg", { viewBox: "0 0 64 49", ...props, children: [jsx("path", { d: "M13.294,36.044L8.518,36.044C2.857,36.044 0,33.216 0,27.612L0,8.432C0,2.828 2.857,0 8.518,0L55.482,0C61.172,0 64,2.84 64,8.432L64,27.612C64,33.204 61.172,36.044 55.482,36.044L50.712,36.044L46.417,31.648L55.412,31.648C58.1,31.648 59.633,30.197 59.633,27.399L59.633,8.645C59.633,5.818 58.1,4.396 55.412,4.396L8.587,4.396C5.876,4.396 4.367,5.818 4.367,8.645L4.367,27.399C4.367,30.197 5.876,31.648 8.587,31.648L17.593,31.648L13.294,36.044Z" }), jsx("path", { d: "M51.449,48.076L12.578,48.076C11.272,48.076 10.274,47.072 10.274,45.772C10.274,45.13 10.535,44.556 10.954,44.158L30.333,24.343C30.763,23.855 31.352,23.616 32.011,23.616C32.643,23.616 33.258,23.86 33.694,24.349L53.051,44.164C53.471,44.562 53.726,45.13 53.726,45.772C53.726,47.072 52.749,48.076 51.449,48.076Z" })] }));
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
function SixtyArrowTriangleheadClockwise(props) {
|
|
1075
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,24.967 53.645,16.446 46.273,11.115C45.02,10.166 43.366,10.489 42.667,11.662C41.944,12.848 42.327,14.192 43.476,15.079C49.571,19.462 53.573,26.628 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,23.179 12.932,13.576 23.706,11.072L23.706,15.18C23.706,17.212 25.087,17.76 26.657,16.652L35.809,10.242C37.117,9.311 37.147,7.954 35.809,7.023L26.687,0.583C25.087,-0.555 23.706,-0.007 23.706,2.055L23.706,6.098C10.28,8.639 0,20.497 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M20.541,46.774C16.981,46.774 14.664,44.425 13.556,41.133C12.922,39.18 12.698,36.589 12.944,34.234C13.167,29.03 15.166,23.932 20.62,23.932C23.356,23.932 25.751,25.261 26.665,27.237C26.909,27.663 27.012,28.181 27.012,28.723C27.012,29.526 26.538,30.359 25.376,30.359C24.5,30.359 23.983,29.86 23.557,29.147C22.917,27.883 21.97,27.144 20.559,27.144C18.472,27.144 17.441,29.04 16.97,31.048C16.647,32.286 16.512,33.738 16.512,35.752L16.634,35.752C17.329,33.519 19.141,31.982 21.732,31.982C25.444,31.982 27.749,35.055 27.749,39.083C27.749,43.598 24.782,46.774 20.541,46.774ZM20.51,43.543C22.646,43.543 23.899,41.451 23.899,39.235C23.899,36.952 22.72,34.964 20.504,34.964C18.417,34.964 17.079,36.861 17.079,39.113C17.079,41.335 18.319,43.543 20.51,43.543Z" }), jsx("path", { d: "M38.658,46.737C33.045,46.737 31.035,41.001 31.035,35.298C31.035,29.686 33.021,23.895 38.658,23.895C44.3,23.895 46.268,29.656 46.268,35.298C46.268,40.94 44.319,46.737 38.658,46.737ZM38.658,43.483C41.059,43.483 42.266,39.978 42.266,35.298C42.266,30.673 41.053,27.168 38.658,27.168C36.287,27.168 35.068,30.661 35.068,35.298C35.068,39.978 36.287,43.483 38.658,43.483Z" })] }));
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
function SixtyArrowTriangleheadCounterclockwise(props) {
|
|
1079
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,20.497 48.145,8.639 34.75,6.098L34.75,2.055C34.75,-0.007 33.339,-0.555 31.762,0.583L22.647,7.023C21.308,7.954 21.339,9.311 22.647,10.242L31.793,16.652C33.339,17.76 34.75,17.212 34.75,15.18L34.75,11.072C45.518,13.576 53.573,23.179 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,26.628 8.879,19.462 14.98,15.079C16.129,14.192 16.512,12.848 15.782,11.662C15.089,10.489 13.436,10.166 12.152,11.115C4.781,16.446 0,24.967 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M20.541,46.774C16.981,46.774 14.664,44.425 13.556,41.133C12.922,39.18 12.698,36.589 12.944,34.234C13.167,29.03 15.166,23.932 20.62,23.932C23.356,23.932 25.751,25.261 26.665,27.237C26.909,27.663 27.012,28.181 27.012,28.723C27.012,29.526 26.538,30.359 25.376,30.359C24.5,30.359 23.983,29.86 23.557,29.147C22.917,27.883 21.97,27.144 20.559,27.144C18.472,27.144 17.441,29.04 16.97,31.048C16.647,32.286 16.512,33.738 16.512,35.752L16.634,35.752C17.329,33.519 19.141,31.982 21.732,31.982C25.444,31.982 27.749,35.055 27.749,39.083C27.749,43.598 24.782,46.774 20.541,46.774ZM20.51,43.543C22.646,43.543 23.899,41.451 23.899,39.235C23.899,36.952 22.72,34.964 20.504,34.964C18.417,34.964 17.079,36.861 17.079,39.113C17.079,41.335 18.319,43.543 20.51,43.543Z" }), jsx("path", { d: "M38.658,46.737C33.045,46.737 31.035,41.001 31.035,35.298C31.035,29.686 33.021,23.895 38.658,23.895C44.3,23.895 46.268,29.656 46.268,35.298C46.268,40.94 44.319,46.737 38.658,46.737ZM38.658,43.483C41.059,43.483 42.266,39.978 42.266,35.298C42.266,30.673 41.053,27.168 38.658,27.168C36.287,27.168 35.068,30.661 35.068,35.298C35.068,39.978 36.287,43.483 38.658,43.483Z" })] }));
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
function SpeakerMinusFill(props) {
|
|
1083
|
+
return (jsxs("svg", { ...props, viewBox: '0 0 64 46', children: [jsx("path", { d: 'M27.897,45.634C29.579,45.634 30.809,44.408 30.809,42.716L30.809,3.055C30.809,1.39 29.579,0 27.842,0C26.634,0 25.792,0.528 24.48,1.78L13.449,12.13C13.294,12.284 13.074,12.383 12.825,12.383L5.415,12.383C1.909,12.383 0,14.292 0,18.045L0,27.672C0,31.392 1.909,33.328 5.415,33.328L12.825,33.328C13.074,33.328 13.294,33.406 13.449,33.56L24.48,44.013C25.683,45.133 26.688,45.634 27.897,45.634Z' }), jsx("path", { d: 'M41.264,24.964L61.535,24.964C62.99,24.964 64,24.195 64,22.828C64,21.423 63.05,20.626 61.535,20.626L41.264,20.626C39.749,20.626 38.771,21.423 38.771,22.828C38.771,24.195 39.809,24.964 41.264,24.964Z' })] }));
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
function SpeakerPlusFill(props) {
|
|
1087
|
+
return (jsxs("svg", { ...props, viewBox: '0 0 64 47', children: [jsx("path", { d: 'M28.32,46.325C30.027,46.325 31.276,45.08 31.276,43.362L31.276,3.102C31.276,1.411 30.027,0 28.264,0C27.037,0 26.183,0.536 24.85,1.807L13.652,12.313C13.496,12.47 13.272,12.571 13.02,12.571L5.497,12.571C1.938,12.571 0,14.509 0,18.319L0,28.091C0,31.867 1.938,33.833 5.497,33.833L13.02,33.833C13.272,33.833 13.496,33.911 13.652,34.068L24.85,44.679C26.071,45.817 27.092,46.325 28.32,46.325Z' }), jsx("path", { d: 'M39.659,23.135C39.659,24.411 40.579,25.303 41.916,25.303L49.617,25.303L49.617,33.059C49.617,34.368 50.509,35.283 51.785,35.283C53.1,35.283 54.02,34.374 54.02,33.059L54.02,25.303L61.777,25.303C63.086,25.303 64,24.411 64,23.135C64,21.819 63.092,20.899 61.777,20.899L54.02,20.899L54.02,13.171C54.02,11.828 53.1,10.919 51.785,10.919C50.509,10.919 49.617,11.834 49.617,13.171L49.617,20.899L41.916,20.899C40.545,20.899 39.659,21.819 39.659,23.135Z' })] }));
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
function SpeakerWave3Fill(props) {
|
|
1091
|
+
return (jsxs("svg", { viewBox: '0 0 64 47', ...props, children: [jsx("path", { d: 'M25.707,44.076C27.257,44.076 28.39,42.947 28.39,41.387L28.39,4.841C28.39,3.307 27.257,2.025 25.656,2.025C24.542,2.025 23.767,2.512 22.558,3.666L12.393,13.203C12.251,13.345 12.047,13.436 11.818,13.436L4.99,13.436C1.759,13.436 0,15.195 0,18.654L0,27.525C0,30.953 1.759,32.737 4.99,32.737L11.818,32.737C12.047,32.737 12.251,32.808 12.393,32.95L22.558,42.583C23.666,43.615 24.593,44.076 25.707,44.076Z' }), jsx("path", { "data-wave": '1', d: 'M36.874,33.192C37.684,33.728 38.797,33.566 39.439,32.64C41.265,30.222 42.371,26.683 42.371,23.026C42.371,19.368 41.265,15.855 39.439,13.411C38.797,12.485 37.684,12.323 36.874,12.885C35.923,13.553 35.761,14.721 36.505,15.713C37.901,17.607 38.662,20.249 38.662,23.026C38.662,25.802 37.876,28.419 36.505,30.338C35.786,31.355 35.923,32.498 36.874,33.192Z' }), jsx("path", { "data-wave": '2', d: 'M45.738,39.394C46.624,39.981 47.712,39.799 48.354,38.868C51.402,34.69 53.208,28.904 53.208,23.026C53.208,17.148 51.427,11.31 48.354,7.183C47.712,6.252 46.624,6.07 45.738,6.657C44.858,7.249 44.701,8.362 45.399,9.354C48.023,13.032 49.499,17.952 49.499,23.026C49.499,28.099 47.972,32.994 45.399,36.697C44.726,37.689 44.858,38.802 45.738,39.394Z' }), jsx("path", { "data-wave": '3', d: 'M54.679,45.708C55.514,46.32 56.683,46.082 57.315,45.121C61.498,39.091 64,31.447 64,23.026C64,14.604 61.422,6.986 57.315,0.93C56.683,-0.056 55.514,-0.269 54.679,0.343C53.804,0.956 53.668,2.079 54.33,3.071C58.012,8.514 60.342,15.379 60.342,23.026C60.342,30.647 58.012,37.562 54.33,42.98C53.668,43.972 53.804,45.095 54.679,45.708Z' })] }));
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
function TenArrowTriangleheadClockwise(props) {
|
|
1095
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,24.967 53.645,16.446 46.273,11.115C45.02,10.166 43.366,10.489 42.667,11.662C41.944,12.848 42.327,14.192 43.476,15.079C49.571,19.462 53.573,26.628 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,23.179 12.932,13.576 23.706,11.072L23.706,15.18C23.706,17.212 25.087,17.76 26.657,16.652L35.809,10.242C37.117,9.311 37.147,7.954 35.809,7.023L26.687,0.583C25.087,-0.555 23.706,-0.007 23.706,2.055L23.706,6.098C10.28,8.639 -0,20.497 -0,34.787C-0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M21.596,46.561C22.831,46.561 23.585,45.673 23.585,44.438L23.585,26.365C23.585,24.935 22.709,24.096 21.286,24.096C20.118,24.096 19.316,24.613 18.416,25.288L15.162,27.705C14.602,28.131 14.267,28.587 14.267,29.287C14.267,30.108 14.864,30.765 15.685,30.765C16.081,30.765 16.361,30.638 16.689,30.376L19.522,28.258L19.577,28.258L19.577,44.438C19.577,45.679 20.355,46.561 21.596,46.561Z" }), jsx("path", { d: "M36.048,46.731C30.406,46.731 28.426,41.001 28.426,35.298C28.426,29.686 30.375,23.919 36.048,23.919C41.685,23.919 43.659,29.649 43.659,35.298C43.659,40.97 41.679,46.731 36.048,46.731ZM36.048,43.513C38.45,43.513 39.626,39.978 39.626,35.298C39.626,30.673 38.444,27.174 36.048,27.174C33.647,27.174 32.458,30.661 32.458,35.298C32.458,39.984 33.647,43.513 36.048,43.513Z" })] }));
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
function TenArrowTriangleheadCounterclockwise(props) {
|
|
1099
|
+
return (jsxs("svg", { viewBox: '0 0 59 64', ...props, children: [jsx("path", { d: 'M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,20.497 48.145,8.639 34.75,6.098L34.75,2.055C34.75,-0.007 33.339,-0.555 31.762,0.583L22.647,7.023C21.308,7.954 21.339,9.311 22.647,10.242L31.793,16.652C33.339,17.76 34.75,17.212 34.75,15.18L34.75,11.072C45.518,13.576 53.573,23.179 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,26.628 8.879,19.462 14.98,15.079C16.129,14.192 16.512,12.848 15.782,11.662C15.089,10.489 13.436,10.166 12.152,11.115C4.781,16.446 0,24.967 0,34.787C0,50.929 13.101,64 29.213,64Z' }), jsx("path", { d: 'M21.596,46.561C22.831,46.561 23.585,45.673 23.585,44.438L23.585,26.365C23.585,24.935 22.709,24.096 21.286,24.096C20.118,24.096 19.316,24.613 18.416,25.288L15.162,27.705C14.602,28.131 14.267,28.587 14.267,29.287C14.267,30.108 14.864,30.765 15.685,30.765C16.081,30.765 16.361,30.638 16.689,30.376L19.522,28.258L19.577,28.258L19.577,44.438C19.577,45.679 20.355,46.561 21.596,46.561Z' }), jsx("path", { d: 'M36.048,46.731C30.406,46.731 28.426,41.001 28.426,35.298C28.426,29.686 30.375,23.919 36.048,23.919C41.685,23.919 43.659,29.649 43.659,35.298C43.659,40.97 41.679,46.731 36.048,46.731ZM36.048,43.513C38.45,43.513 39.626,39.978 39.626,35.298C39.626,30.673 38.444,27.174 36.048,27.174C33.647,27.174 32.458,30.661 32.458,35.298C32.458,39.984 33.647,43.513 36.048,43.513Z' })] }));
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
function ThirtyArrowTriangleheadClockwise(props) {
|
|
1103
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,24.967 53.645,16.446 46.273,11.115C45.02,10.166 43.366,10.489 42.667,11.662C41.944,12.848 42.327,14.192 43.476,15.079C49.571,19.462 53.573,26.628 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,23.179 12.932,13.576 23.706,11.072L23.706,15.18C23.706,17.212 25.087,17.76 26.657,16.652L35.809,10.242C37.117,9.311 37.147,7.954 35.809,7.023L26.687,0.583C25.087,-0.555 23.706,-0.007 23.706,2.055L23.706,6.098C10.28,8.639 0,20.497 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M20.047,46.731C24.27,46.731 27.627,44.281 27.627,40.241C27.627,36.944 25.457,35.231 22.805,34.975L22.805,34.926C25.346,34.354 26.883,32.276 26.883,29.819C26.883,26.102 23.813,23.999 19.962,23.999C16.763,23.999 13.992,25.796 13.37,28.361C13.272,28.703 13.229,29.063 13.229,29.411C13.229,30.275 13.697,31.023 14.902,31.023C15.863,31.023 16.374,30.627 16.696,29.733C17.25,28.018 18.362,27.162 19.992,27.162C21.908,27.162 23.093,28.377 23.093,30.287C23.093,32.361 21.641,33.624 19.548,33.624L18.704,33.624C17.724,33.624 17.152,34.19 17.152,35.084C17.152,36.027 17.755,36.532 18.704,36.532L19.59,36.532C21.916,36.532 23.618,37.546 23.618,40.071C23.618,42.091 22.19,43.507 20.078,43.507C18.064,43.507 16.915,42.481 16.379,40.894C16.026,40.121 15.388,39.628 14.615,39.628C13.532,39.628 12.845,40.297 12.845,41.344C12.845,41.697 12.894,42.045 12.991,42.393C13.705,45.287 17,46.731 20.047,46.731Z" }), jsx("path", { d: "M38.396,46.737C32.783,46.737 30.773,41.001 30.773,35.298C30.773,29.686 32.728,23.926 38.396,23.926C44.032,23.926 46.036,29.656 46.036,35.298C46.036,40.97 44.05,46.737 38.396,46.737ZM38.396,43.513C40.797,43.513 42.004,39.978 42.004,35.298C42.004,30.673 40.791,27.168 38.396,27.168C36.025,27.168 34.805,30.661 34.805,35.298C34.805,39.978 36.025,43.513 38.396,43.513Z" })] }));
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
function ThirtyArrowTriangleheadCounterclockwise(props) {
|
|
1107
|
+
return (jsxs("svg", { viewBox: "0 0 59 64", ...props, children: [jsx("path", { d: "M29.213,64C45.355,64 58.456,50.929 58.456,34.787C58.456,20.497 48.145,8.639 34.75,6.098L34.75,2.055C34.75,-0.007 33.339,-0.555 31.762,0.583L22.647,7.023C21.308,7.954 21.339,9.311 22.647,10.242L31.793,16.652C33.339,17.76 34.75,17.212 34.75,15.18L34.75,11.072C45.518,13.576 53.573,23.179 53.573,34.787C53.573,48.254 42.679,59.148 29.213,59.148C15.746,59.148 4.877,48.254 4.877,34.787C4.877,26.628 8.879,19.462 14.98,15.079C16.129,14.192 16.512,12.848 15.782,11.662C15.089,10.489 13.436,10.166 12.152,11.115C4.781,16.446 0,24.967 0,34.787C0,50.929 13.101,64 29.213,64Z" }), jsx("path", { d: "M20.047,46.731C24.27,46.731 27.627,44.281 27.627,40.241C27.627,36.944 25.457,35.231 22.805,34.975L22.805,34.926C25.346,34.354 26.883,32.276 26.883,29.819C26.883,26.102 23.813,23.999 19.962,23.999C16.763,23.999 13.992,25.796 13.37,28.361C13.272,28.703 13.229,29.063 13.229,29.411C13.229,30.275 13.697,31.023 14.902,31.023C15.863,31.023 16.374,30.627 16.696,29.733C17.25,28.018 18.362,27.162 19.992,27.162C21.908,27.162 23.093,28.377 23.093,30.287C23.093,32.361 21.641,33.624 19.548,33.624L18.704,33.624C17.724,33.624 17.152,34.19 17.152,35.084C17.152,36.027 17.755,36.532 18.704,36.532L19.59,36.532C21.916,36.532 23.618,37.546 23.618,40.071C23.618,42.091 22.19,43.507 20.078,43.507C18.064,43.507 16.915,42.481 16.379,40.894C16.026,40.121 15.388,39.628 14.615,39.628C13.532,39.628 12.845,40.297 12.845,41.344C12.845,41.697 12.894,42.045 12.991,42.393C13.705,45.287 17,46.731 20.047,46.731Z" }), jsx("path", { d: "M38.396,46.737C32.783,46.737 30.773,41.001 30.773,35.298C30.773,29.686 32.728,23.926 38.396,23.926C44.032,23.926 46.036,29.656 46.036,35.298C46.036,40.97 44.05,46.737 38.396,46.737ZM38.396,43.513C40.797,43.513 42.004,39.978 42.004,35.298C42.004,30.673 40.791,27.168 38.396,27.168C36.025,27.168 34.805,30.661 34.805,35.298C34.805,39.978 36.025,43.513 38.396,43.513Z" })] }));
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
function Xmark(props) {
|
|
1019
1111
|
return (jsx("svg", { viewBox: '0 0 64 64', ...props, children: jsx("path", { d: 'M1,63c0.7,0.7,1.6,1,2.6,1s1.9-0.3,2.6-1L32,37.1L57.8,63c0.7,0.7,1.5,1,2.5,1c1,0,1.9-0.3,2.6-1c0.7-0.7,1-1.6,1-2.6 c0-1-0.3-1.8-1-2.5L37.1,32L63,6.2c0.7-0.7,1-1.6,1-2.6S63.7,1.7,63,1c-0.7-0.7-1.6-1-2.6-1c-1,0-1.8,0.3-2.5,1L32,26.9L6.2,1 C5.5,0.3,4.6,0,3.6,0C2.6,0,1.7,0.3,1,1C0.3,1.7,0,2.6,0,3.6c0,1,0.3,1.9,1,2.6L26.9,32L1,57.8c-0.7,0.7-1,1.5-1,2.6 C0,61.4,0.3,62.3,1,63z' }) }));
|
|
1020
1112
|
}
|
|
1021
1113
|
|
|
@@ -1035,7 +1127,7 @@ function DropDownButton({ arrow = true, as, children, className, ...props }) {
|
|
|
1035
1127
|
(typeof arrow === 'boolean' ? (jsx(ChevronDown, { className: '-top-px -mr-1 ml-2 w-4 animate-flip-again group-data-open/button:animate-flip' })) : (arrow))] }));
|
|
1036
1128
|
}
|
|
1037
1129
|
function DropDownItem({ as, ...props }) {
|
|
1038
|
-
return jsx(MenuItem, { as: as || 'div'
|
|
1130
|
+
return jsx(MenuItem, { ...props, as: as || 'div' });
|
|
1039
1131
|
}
|
|
1040
1132
|
function DropDownItems({ anchor, children, className, containerClassName, style, ...props }) {
|
|
1041
1133
|
const getAnchorProps = () => {
|
|
@@ -1049,14 +1141,14 @@ function DropDownItems({ anchor, children, className, containerClassName, style,
|
|
|
1049
1141
|
return initialAnchor;
|
|
1050
1142
|
};
|
|
1051
1143
|
const anchorProps = getAnchorProps();
|
|
1052
|
-
return (jsx(MenuItems, { ...props, anchor: anchorProps, className: twMerge('grid grid-rows-1fr rounded-xl shadow-xl transition-rows duration-500 ease-exponential data-closed:grid-rows-0fr', containerClassName),
|
|
1144
|
+
return (jsx(MenuItems, { ...props, anchor: anchorProps, className: twMerge('grid grid-rows-1fr rounded-xl shadow-xl transition-rows duration-500 ease-exponential not-data-open:not-data-enter:not-data-leave:grid-rows-0fr data-closed:grid-rows-0fr', containerClassName), static: props.static, style: { ...style, minWidth: 'var(--button-width)' }, transition: true, children: bag => (jsx("div", { className: 'overflow-y-scroll', children: jsx("div", { className: twMerge('rounded-xl bg-neutral-50/20 px-6 py-5 backdrop-blur-md backdrop-brightness-150', className), children: typeof children === 'function' ? children(bag) : children }) })) }));
|
|
1053
1145
|
}
|
|
1054
1146
|
function DropDownSection({ children, label, labelProps, separatorAbove, separatorBelow, ...props }) {
|
|
1055
1147
|
const { labelClassName, ...restLabelProps } = { labelClassName: labelProps?.className || '', ...labelProps };
|
|
1056
1148
|
return (jsx(MenuSection, { ...props, children: sectionBag => (jsxs(Fragment$1, { children: [separatorAbove && jsx(DropDownSeparator, {}), label && (jsx(MenuHeading, { ...restLabelProps, className: headingBag => twMerge('text-[size:larger] font-bold text-current/80', typeof labelClassName === 'function' ? labelClassName(headingBag) : labelClassName), children: label })), typeof children === 'function' ? children(sectionBag) : children, separatorBelow && jsx(DropDownSeparator, {})] })) }));
|
|
1057
1149
|
}
|
|
1058
|
-
function DropDownSeparator({ className, ...props }) {
|
|
1059
|
-
return (jsx(MenuSeparator, { ...props, className: bag => twMerge('my-4 block h-px rounded-full bg-neutral-950/20', typeof className === 'function' ? className(bag) : className) }));
|
|
1150
|
+
function DropDownSeparator({ as, className, ...props }) {
|
|
1151
|
+
return (jsx(MenuSeparator, { ...props, as: as || 'div', className: bag => twMerge('my-4 block h-px rounded-full bg-neutral-950/20', typeof className === 'function' ? className(bag) : className) }));
|
|
1060
1152
|
}
|
|
1061
1153
|
function DropDown(props) {
|
|
1062
1154
|
return jsx(Menu, { ...props });
|
|
@@ -1742,7 +1834,7 @@ const flip$2 = function (options) {
|
|
|
1742
1834
|
if (!ignoreCrossAxisOverflow ||
|
|
1743
1835
|
// We leave the current main axis only if every placement on that axis
|
|
1744
1836
|
// overflows the main axis.
|
|
1745
|
-
overflowsData.every(d => d.overflows[0] > 0
|
|
1837
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
1746
1838
|
// Try next placement and re-run the lifecycle.
|
|
1747
1839
|
return {
|
|
1748
1840
|
data: {
|
|
@@ -3897,6 +3989,72 @@ function Heading({ as = 'h2', children, customize, className, id, ref, ...props
|
|
|
3897
3989
|
return (jsx(H, { ref: ref, id: targetableID, ...props, className: twMerge(baseClasses, className), children: children }));
|
|
3898
3990
|
}
|
|
3899
3991
|
|
|
3992
|
+
const allAllowProperties = [
|
|
3993
|
+
'accelerometer',
|
|
3994
|
+
'ambient-light-sensor',
|
|
3995
|
+
'attribution-reporting',
|
|
3996
|
+
'autoplay',
|
|
3997
|
+
'bluetooth',
|
|
3998
|
+
'camera',
|
|
3999
|
+
'captured-surface-control',
|
|
4000
|
+
'compute-pressure',
|
|
4001
|
+
'cross-origin-isolated',
|
|
4002
|
+
'deferred-fetch',
|
|
4003
|
+
'deferred-fetch-minimal',
|
|
4004
|
+
'display-capture',
|
|
4005
|
+
'encrypted-media',
|
|
4006
|
+
'fullscreen',
|
|
4007
|
+
'gamepad',
|
|
4008
|
+
'geolocation',
|
|
4009
|
+
'gyroscope',
|
|
4010
|
+
'hid',
|
|
4011
|
+
'identity-credentials-get',
|
|
4012
|
+
'idle-detection',
|
|
4013
|
+
'language-detector',
|
|
4014
|
+
'local-fonts',
|
|
4015
|
+
'magnetometer',
|
|
4016
|
+
'microphone',
|
|
4017
|
+
'midi',
|
|
4018
|
+
'otp-credentials',
|
|
4019
|
+
'payment',
|
|
4020
|
+
'picture-in-picture',
|
|
4021
|
+
'publickey-credentials-get',
|
|
4022
|
+
'screen-wake-lock',
|
|
4023
|
+
'serial',
|
|
4024
|
+
'speaker-selection',
|
|
4025
|
+
'storage-access',
|
|
4026
|
+
'summarizer',
|
|
4027
|
+
'translator',
|
|
4028
|
+
'usb',
|
|
4029
|
+
'web-share',
|
|
4030
|
+
'window-management',
|
|
4031
|
+
'xr-spatial-tracking',
|
|
4032
|
+
];
|
|
4033
|
+
/**
|
|
4034
|
+
* # iFrame
|
|
4035
|
+
* - An `<iframe/>` with preset classes, backup, and required title for SEO.
|
|
4036
|
+
*/
|
|
4037
|
+
function IFrame({ allow, className, referrerPolicy = 'no-referrer-when-downgrade', sandbox, ...props }) {
|
|
4038
|
+
const allowAttribute = (allow === 'allow-all'
|
|
4039
|
+
? allAllowProperties.map(property => `${property} *`)
|
|
4040
|
+
: allow?.map(property => {
|
|
4041
|
+
if (typeof property === 'string')
|
|
4042
|
+
return `${property} *`;
|
|
4043
|
+
const propertyDefinition = [];
|
|
4044
|
+
Object.entries(property).forEach(([key, value]) => {
|
|
4045
|
+
propertyDefinition.push(key);
|
|
4046
|
+
if (value === true)
|
|
4047
|
+
propertyDefinition.push('*');
|
|
4048
|
+
if (value === false)
|
|
4049
|
+
propertyDefinition.push(`'none'`);
|
|
4050
|
+
if (Array.isArray(value))
|
|
4051
|
+
value.forEach(origin => propertyDefinition.push(origin));
|
|
4052
|
+
});
|
|
4053
|
+
return propertyDefinition.join(' ');
|
|
4054
|
+
}) || []).join('; ');
|
|
4055
|
+
return (jsx("iframe", { ...props, allow: allowAttribute, allowFullScreen: allowAttribute?.includes('fullscreen'), className: twMerge('aspect-video w-full bg-linear-60 from-neutral-700 via-neutral-500 to-neutral-600', className), referrerPolicy: referrerPolicy, sandbox: sandbox?.join(' ') }));
|
|
4056
|
+
}
|
|
4057
|
+
|
|
3900
4058
|
function ModalTrigger({ as, ...props }) {
|
|
3901
4059
|
const Element = as || Button$1;
|
|
3902
4060
|
return jsx(Element, { ...props });
|
|
@@ -4015,7 +4173,7 @@ function Modal({ children, className, onClose, onOpen, place = 'bottom' }) {
|
|
|
4015
4173
|
readyToClose
|
|
4016
4174
|
? 'bg-neutral-50/5 backdrop-blur-[1px] dark:bg-neutral-950/5'
|
|
4017
4175
|
: 'bg-neutral-50/25 backdrop-blur-sm dark:bg-neutral-950/25',
|
|
4018
|
-
].join(' '), children: jsx(Button, { theme: 'blue', padding: 'none', rounded: 'full', className: 'group/button fixed top-4 right-4 h-7 w-7 overflow-x-hidden transition-[scale_width_filter] pointer-fine:hover:w-20', children: jsxs("div", { className: 'absolute top-1 right-1 flex items-center gap-1 pt-px transition-transform duration-300 ease-exponential pointer-fine:group-hover/button:-translate-x-0.5', children: [jsxs("span", { className: 'block text-xs leading-none font-medium text-neutral-50 uppercase', children: ["Close", jsx("span", { className: 'sr-only', children: " Modal" })] }), jsx(
|
|
4176
|
+
].join(' '), children: jsx(Button, { theme: 'blue', padding: 'none', rounded: 'full', className: 'group/button fixed top-4 right-4 h-7 w-7 overflow-x-hidden transition-[scale_width_filter] pointer-fine:hover:w-20', children: jsxs("div", { className: 'absolute top-1 right-1 flex items-center gap-1 pt-px transition-transform duration-300 ease-exponential pointer-fine:group-hover/button:-translate-x-0.5', children: [jsxs("span", { className: 'block text-xs leading-none font-medium text-neutral-50 uppercase', children: ["Close", jsx("span", { className: 'sr-only', children: " Modal" })] }), jsx(Xmark, { className: '-top-px block size-5 scale-75 rotate-90 fill-white stroke-white stroke-1 transition-transform duration-300 ease-in-out group-hover/button:rotate-0' })] }) }) }), jsxs(DialogPanel, { ref: dialogPanelRef, transition: true, className: twMerge('fixed left-1/2 -translate-x-1/2 overflow-y-scroll bg-neutral-50 p-4 shadow-[0_-15px_50px_-12px] shadow-neutral-950/25 transition-[transform_translate_opacity] duration-750 ease-exponential data-closed:scale-50 data-closed:opacity-0 sm:w-[calc(100vw-2rem)] sm:max-w-fit sm:p-6 sm:shadow-2xl lg:p-8 dark:bg-neutral-900', place === 'center'
|
|
4019
4177
|
? 'top-1/2 -translate-y-1/2 rounded-2xl data-enter:translate-y-[calc(-50%+12rem)] data-leave:translate-y-[calc(-50%-8rem)]'
|
|
4020
4178
|
: 'bottom-0 h-fit max-h-[calc(100dvh-4rem)] translate-y-0 rounded-t-4xl data-enter:translate-y-full data-leave:translate-y-full sm:top-1/2 sm:bottom-auto sm:rounded-t-2xl sm:rounded-b-2xl sm:data-enter:translate-y-[calc(-50%+12rem)] sm:data-leave:translate-y-[calc(-50%-8rem)] sm:data-open:-translate-y-1/2 pointer-fine:top-1/2 pointer-fine:bottom-auto pointer-fine:-translate-y-1/2 pointer-fine:rounded-2xl', className), children: [jsx("button", { onTouchStart: enableTouchClose, onMouseDown: enableMouseClose, className: [
|
|
4021
4179
|
'absolute inset-x-0 top-0 z-10 flex h-6 cursor-grab items-center justify-center after:h-1 after:w-8 after:rounded-full after:transition-[transform_background-color] after:duration-500 after:ease-exponential active:cursor-grabbing',
|
|
@@ -4076,5 +4234,265 @@ function Time({ children, dateObject, dateTime, day, hours, milliseconds, minute
|
|
|
4076
4234
|
return (jsx("time", { dateTime: dateAndTime, ref: ref, ...props, children: dateDisplay }));
|
|
4077
4235
|
}
|
|
4078
4236
|
|
|
4079
|
-
|
|
4237
|
+
const MAX_PROGRESS = 100;
|
|
4238
|
+
function Video({ autoPlay, className, controls = true, poster, ref, srcSet, title, ...props }) {
|
|
4239
|
+
const uniqueID = useId(), figureRef = useRef(null), videoPlayerRef = useRef(null), [isPlaying, setIsPlaying] = useState(autoPlay), isFullscreenRef = useRef(false), [isFullscreen, setIsFullscreen] = useState(false), [progress, setProgress] = useState(0), [showControls, setShowControls] = useState(true), pressedKeyListRef = useRef([]), [pressedKeyList, setPressedKeyList] = useState([]), [volume, setVolume] = useState(1);
|
|
4240
|
+
const [seekIndicator, setSeekIndicator] = useState({ isInPlayedArea: false, position: 0 });
|
|
4241
|
+
const sortedSrcSet = srcSet.sort((a, b) => a.width - b.width);
|
|
4242
|
+
const primaryPoster = poster ? poster.find(({ primary }) => primary)?.src || poster[0].src : '';
|
|
4243
|
+
const updateFullscreenState = useCallback(() => {
|
|
4244
|
+
if (Boolean(document.fullscreenElement) !== isFullscreenRef.current) {
|
|
4245
|
+
setIsFullscreen(Boolean(document.fullscreenElement));
|
|
4246
|
+
isFullscreenRef.current = Boolean(document.fullscreenElement);
|
|
4247
|
+
}
|
|
4248
|
+
}, []);
|
|
4249
|
+
useEffect(() => {
|
|
4250
|
+
if (typeof window === 'undefined')
|
|
4251
|
+
return;
|
|
4252
|
+
document.addEventListener('fullscreenchange', updateFullscreenState);
|
|
4253
|
+
return () => {
|
|
4254
|
+
document.removeEventListener('fullscreenchange', updateFullscreenState);
|
|
4255
|
+
};
|
|
4256
|
+
}, []);
|
|
4257
|
+
const handleTimeUpdate = () => {
|
|
4258
|
+
if (videoPlayerRef.current) {
|
|
4259
|
+
const newProgress = (videoPlayerRef.current.currentTime / videoPlayerRef.current.duration) * 100;
|
|
4260
|
+
setProgress(prev => (Math.abs(prev - newProgress) > 0.1 ? newProgress : prev));
|
|
4261
|
+
}
|
|
4262
|
+
};
|
|
4263
|
+
const togglePlay = useCallback(() => setIsPlaying(previous => {
|
|
4264
|
+
if (!previous)
|
|
4265
|
+
videoPlayerRef.current?.play();
|
|
4266
|
+
if (previous)
|
|
4267
|
+
videoPlayerRef.current?.pause();
|
|
4268
|
+
return !previous;
|
|
4269
|
+
}), []);
|
|
4270
|
+
const toggleFullscreen = () => {
|
|
4271
|
+
if (document.fullscreenElement) {
|
|
4272
|
+
document.exitFullscreen();
|
|
4273
|
+
return;
|
|
4274
|
+
}
|
|
4275
|
+
figureRef.current?.requestFullscreen();
|
|
4276
|
+
};
|
|
4277
|
+
const requestFullscreen = useCallback(() => {
|
|
4278
|
+
if (document.fullscreenElement)
|
|
4279
|
+
return;
|
|
4280
|
+
figureRef.current?.requestFullscreen();
|
|
4281
|
+
}, []);
|
|
4282
|
+
const enterPictureInPicture = () => videoPlayerRef.current?.requestPictureInPicture();
|
|
4283
|
+
const [skipDuration, setSkipDuration] = useState(10);
|
|
4284
|
+
const getSkipAmount = () => {
|
|
4285
|
+
const modifierKeyList = pressedKeyListRef.current;
|
|
4286
|
+
let skipAmount = 10;
|
|
4287
|
+
if (modifierKeyList.includes('alt')) {
|
|
4288
|
+
if (modifierKeyList.length === 1)
|
|
4289
|
+
skipAmount = 15;
|
|
4290
|
+
if (modifierKeyList.includes('shift'))
|
|
4291
|
+
skipAmount = 30;
|
|
4292
|
+
if (modifierKeyList.includes('meta'))
|
|
4293
|
+
skipAmount = 5;
|
|
4294
|
+
if (modifierKeyList.includes('shift') && modifierKeyList.includes('meta'))
|
|
4295
|
+
skipAmount = 60;
|
|
4296
|
+
if (modifierKeyList.includes('shift') && modifierKeyList.includes('meta') && modifierKeyList.includes('ctrl'))
|
|
4297
|
+
skipAmount = 90;
|
|
4298
|
+
}
|
|
4299
|
+
if (skipAmount !== skipDuration)
|
|
4300
|
+
setSkipDuration(skipAmount);
|
|
4301
|
+
return skipAmount;
|
|
4302
|
+
};
|
|
4303
|
+
const skipBack = useCallback(() => {
|
|
4304
|
+
if (!videoPlayerRef.current)
|
|
4305
|
+
return;
|
|
4306
|
+
const { currentTime } = videoPlayerRef.current;
|
|
4307
|
+
const skipAmount = getSkipAmount();
|
|
4308
|
+
videoPlayerRef.current.fastSeek(Math.max(currentTime - skipAmount, 0));
|
|
4309
|
+
}, []);
|
|
4310
|
+
const skipForward = useCallback(() => {
|
|
4311
|
+
if (!videoPlayerRef.current)
|
|
4312
|
+
return;
|
|
4313
|
+
const { currentTime, duration } = videoPlayerRef.current;
|
|
4314
|
+
const skipAmount = getSkipAmount();
|
|
4315
|
+
videoPlayerRef.current.fastSeek(Math.min(currentTime + skipAmount, duration - 1));
|
|
4316
|
+
}, []);
|
|
4317
|
+
const updateModifierKeys = useCallback(({ metaKey, altKey, shiftKey, ctrlKey, }) => {
|
|
4318
|
+
if ((metaKey && !pressedKeyListRef.current.includes('meta')) ||
|
|
4319
|
+
(altKey && !pressedKeyListRef.current.includes('alt')) ||
|
|
4320
|
+
(shiftKey && !pressedKeyListRef.current.includes('shift')) ||
|
|
4321
|
+
(ctrlKey && !pressedKeyListRef.current.includes('ctrl')) ||
|
|
4322
|
+
(!metaKey && pressedKeyListRef.current.includes('meta')) ||
|
|
4323
|
+
(!altKey && pressedKeyListRef.current.includes('alt')) ||
|
|
4324
|
+
(!shiftKey && pressedKeyListRef.current.includes('shift')) ||
|
|
4325
|
+
(!ctrlKey && pressedKeyListRef.current.includes('ctrl'))) {
|
|
4326
|
+
const newPressedKeyList = [];
|
|
4327
|
+
if (metaKey)
|
|
4328
|
+
newPressedKeyList.push('meta');
|
|
4329
|
+
if (altKey)
|
|
4330
|
+
newPressedKeyList.push('alt');
|
|
4331
|
+
if (shiftKey)
|
|
4332
|
+
newPressedKeyList.push('shift');
|
|
4333
|
+
if (ctrlKey)
|
|
4334
|
+
newPressedKeyList.push('ctrl');
|
|
4335
|
+
setPressedKeyList(newPressedKeyList);
|
|
4336
|
+
pressedKeyListRef.current = newPressedKeyList;
|
|
4337
|
+
getSkipAmount();
|
|
4338
|
+
}
|
|
4339
|
+
}, []);
|
|
4340
|
+
const preventContextMenu = e => e.preventDefault();
|
|
4341
|
+
const handleKeydown = useCallback((e) => {
|
|
4342
|
+
const { key, metaKey, altKey, shiftKey, ctrlKey } = e;
|
|
4343
|
+
updateModifierKeys({ metaKey, altKey, shiftKey, ctrlKey });
|
|
4344
|
+
if (![' ', 'ArrowRight', 'ArrowLeft', 'ArrowUp', 'ArrowDown', 'f'].includes(key))
|
|
4345
|
+
return;
|
|
4346
|
+
if ([' ', 'ArrowUp', 'ArrowDown', 'f'].includes(key) && !metaKey && !altKey && !shiftKey && !ctrlKey)
|
|
4347
|
+
e.preventDefault();
|
|
4348
|
+
switch (key) {
|
|
4349
|
+
case ' ':
|
|
4350
|
+
togglePlay();
|
|
4351
|
+
break;
|
|
4352
|
+
case 'ArrowRight':
|
|
4353
|
+
skipForward();
|
|
4354
|
+
break;
|
|
4355
|
+
case 'ArrowLeft':
|
|
4356
|
+
skipBack();
|
|
4357
|
+
break;
|
|
4358
|
+
case 'ArrowUp':
|
|
4359
|
+
// Volume up
|
|
4360
|
+
break;
|
|
4361
|
+
case 'ArrowDown':
|
|
4362
|
+
// Volume down
|
|
4363
|
+
break;
|
|
4364
|
+
case 'f':
|
|
4365
|
+
requestFullscreen();
|
|
4366
|
+
break;
|
|
4367
|
+
}
|
|
4368
|
+
}, [togglePlay, skipForward, updateModifierKeys]);
|
|
4369
|
+
const handleKeyup = useCallback((e) => {
|
|
4370
|
+
const { metaKey, altKey, shiftKey, ctrlKey } = e;
|
|
4371
|
+
updateModifierKeys({ metaKey, altKey, shiftKey, ctrlKey });
|
|
4372
|
+
}, [updateModifierKeys]);
|
|
4373
|
+
useEffect(() => {
|
|
4374
|
+
if (typeof window === 'undefined')
|
|
4375
|
+
return;
|
|
4376
|
+
document.addEventListener('keydown', handleKeydown);
|
|
4377
|
+
document.addEventListener('keyup', handleKeyup);
|
|
4378
|
+
return () => {
|
|
4379
|
+
document.removeEventListener('keydown', handleKeydown);
|
|
4380
|
+
document.removeEventListener('keyup', handleKeyup);
|
|
4381
|
+
};
|
|
4382
|
+
}, [handleKeydown, handleKeyup]);
|
|
4383
|
+
const handleRemotePlayback = () => videoPlayerRef.current?.remote.prompt();
|
|
4384
|
+
const handleSeekIndicatorMovement = e => {
|
|
4385
|
+
if (!videoPlayerRef.current)
|
|
4386
|
+
return;
|
|
4387
|
+
const { currentTime, duration } = videoPlayerRef.current;
|
|
4388
|
+
const { clientX, currentTarget } = e, { width, x } = currentTarget.getBoundingClientRect();
|
|
4389
|
+
const position = clientX - x;
|
|
4390
|
+
const isInPlayedArea = position <= width / (duration / currentTime);
|
|
4391
|
+
setSeekIndicator({ isInPlayedArea, position });
|
|
4392
|
+
};
|
|
4393
|
+
const seekIndicatorMouseDownPositionRef = useRef(0);
|
|
4394
|
+
const initializeSeeking = () => (seekIndicatorMouseDownPositionRef.current = seekIndicator.position);
|
|
4395
|
+
const handleSeekRelease = e => {
|
|
4396
|
+
if (!videoPlayerRef.current)
|
|
4397
|
+
return;
|
|
4398
|
+
const { duration } = videoPlayerRef.current, { currentTarget } = e, { width } = currentTarget.getBoundingClientRect();
|
|
4399
|
+
if (seekIndicatorMouseDownPositionRef.current === seekIndicator.position)
|
|
4400
|
+
videoPlayerRef.current.fastSeek(Math.min(duration / (width / seekIndicatorMouseDownPositionRef.current), duration - 1));
|
|
4401
|
+
};
|
|
4402
|
+
const mouseMoveTimeoutRef = useRef(undefined);
|
|
4403
|
+
const displayControls = () => {
|
|
4404
|
+
if (!showControls)
|
|
4405
|
+
setShowControls(true);
|
|
4406
|
+
};
|
|
4407
|
+
const hideControls = () => {
|
|
4408
|
+
if (!videoPlayerRef.current?.paused)
|
|
4409
|
+
setShowControls(false);
|
|
4410
|
+
};
|
|
4411
|
+
const handleMouseMoveControls = () => {
|
|
4412
|
+
clearTimeout(mouseMoveTimeoutRef.current);
|
|
4413
|
+
displayControls();
|
|
4414
|
+
mouseMoveTimeoutRef.current = setTimeout(() => hideControls(), 1500);
|
|
4415
|
+
};
|
|
4416
|
+
const clearMouseMoveControlsTimeout = () => clearTimeout(mouseMoveTimeoutRef.current);
|
|
4417
|
+
const progressiveEnhancementSourceLengthRef = useRef(1);
|
|
4418
|
+
const [progressiveEnhancementList, setProgressiveEnhancementList] = useState(sortedSrcSet.filter((_, index) => index < progressiveEnhancementSourceLengthRef.current));
|
|
4419
|
+
const handleProEnhance = e => {
|
|
4420
|
+
const { currentTarget } = e, { currentSrc, currentTime } = currentTarget;
|
|
4421
|
+
console.log('current:', currentSrc);
|
|
4422
|
+
const proEnhanceSrcLength = progressiveEnhancementSourceLengthRef.current + 1, updatedProEnhanceList = sortedSrcSet.filter((_, index) => index < proEnhanceSrcLength);
|
|
4423
|
+
console.log(updatedProEnhanceList);
|
|
4424
|
+
setProgressiveEnhancementList(updatedProEnhanceList);
|
|
4425
|
+
progressiveEnhancementSourceLengthRef.current = proEnhanceSrcLength;
|
|
4426
|
+
const srcToCompare = typeof updatedProEnhanceList[-1].src === 'string'
|
|
4427
|
+
? updatedProEnhanceList[-1].src
|
|
4428
|
+
: updatedProEnhanceList[-1].srcGroup;
|
|
4429
|
+
if (!srcToCompare)
|
|
4430
|
+
return;
|
|
4431
|
+
if ((Array.isArray(srcToCompare) && srcToCompare.every(({ src }) => src !== currentSrc)) ||
|
|
4432
|
+
(!Array.isArray(srcToCompare) && srcToCompare !== currentSrc)) {
|
|
4433
|
+
const srcType = currentSrc.split('.')[-1];
|
|
4434
|
+
const src = Array.isArray(srcToCompare)
|
|
4435
|
+
? srcToCompare.find(({ src }) => src.split('.')[-1] === srcType)?.src || srcToCompare[0].src
|
|
4436
|
+
: srcToCompare;
|
|
4437
|
+
if (!src)
|
|
4438
|
+
return;
|
|
4439
|
+
console.log('updated:', src);
|
|
4440
|
+
currentTarget.src = src;
|
|
4441
|
+
currentTarget.currentTime = currentTime || 0;
|
|
4442
|
+
currentTarget.load();
|
|
4443
|
+
}
|
|
4444
|
+
};
|
|
4445
|
+
const captureCurrentFrame = () => {
|
|
4446
|
+
if (!videoPlayerRef.current)
|
|
4447
|
+
return;
|
|
4448
|
+
const { videoHeight, videoWidth } = videoPlayerRef.current;
|
|
4449
|
+
const canvas = document.createElement('canvas'), canvasContext = canvas.getContext('2d');
|
|
4450
|
+
if (!canvasContext)
|
|
4451
|
+
return;
|
|
4452
|
+
canvas.width = videoWidth;
|
|
4453
|
+
canvas.height = videoHeight;
|
|
4454
|
+
canvasContext.drawImage(videoPlayerRef.current, 0, 0, canvas.width, canvas.height);
|
|
4455
|
+
canvas.toBlob(blob => {
|
|
4456
|
+
if (!blob)
|
|
4457
|
+
return;
|
|
4458
|
+
const url = URL.createObjectURL(blob), link = document.createElement('a');
|
|
4459
|
+
link.href = url;
|
|
4460
|
+
link.download = `${title}-frame-${Date.now()}.jpg`;
|
|
4461
|
+
document.body.appendChild(link);
|
|
4462
|
+
link.click();
|
|
4463
|
+
document.body.removeChild(link);
|
|
4464
|
+
URL.revokeObjectURL(url);
|
|
4465
|
+
}, 'image/jpeg', 0.9);
|
|
4466
|
+
};
|
|
4467
|
+
const increaseVolume = () => {
|
|
4468
|
+
if (!videoPlayerRef.current)
|
|
4469
|
+
return;
|
|
4470
|
+
videoPlayerRef.current.volume += 0.1;
|
|
4471
|
+
setVolume(videoPlayerRef.current.volume);
|
|
4472
|
+
};
|
|
4473
|
+
const decreaseVolume = () => {
|
|
4474
|
+
if (!videoPlayerRef.current)
|
|
4475
|
+
return;
|
|
4476
|
+
videoPlayerRef.current.volume -= 0.1;
|
|
4477
|
+
setVolume(videoPlayerRef.current.volume);
|
|
4478
|
+
};
|
|
4479
|
+
return (jsxs("figure", { ...(showControls ? { 'data-controls': true } : {}), ...(isFullscreen ? { 'data-fullscreen': true } : {}), ...(isPlaying ? { 'data-playing': true } : {}), ...Object.fromEntries(pressedKeyList.map(key => [`data-${key}`, true])), className: twMerge('group/video isolate aspect-video w-full overflow-clip', className), onMouseEnter: displayControls, onMouseLeave: hideControls, ref: figureRef, children: [jsx("video", { ...props, className: 'size-full object-cover', onLoad: handleProEnhance, onLoadedMetadata: handleProEnhance, onTimeUpdate: handleTimeUpdate, poster: primaryPoster, ref: videoPlayerRef || ref, title: title, children: progressiveEnhancementList.map(({ width, ...source }) => {
|
|
4480
|
+
if (source.srcGroup) {
|
|
4481
|
+
const { srcGroup } = source;
|
|
4482
|
+
return srcGroup.map(({ src, type }) => (jsx("source", { src: src, type: type }, `${title}${type}${width}${uniqueID}`)));
|
|
4483
|
+
}
|
|
4484
|
+
const { src, type } = source;
|
|
4485
|
+
return jsx("source", { src: src, type: type }, `${title}${type}${width}${uniqueID}`);
|
|
4486
|
+
}) }), controls && (jsxs("div", { className: 'absolute inset-0 isolate text-neutral-50 opacity-0 transition-opacity duration-1000 ease-exponential group-data-controls/video:opacity-100', children: [jsxs("div", { className: 'grid-flow-cols absolute top-1/2 left-1/2 grid -translate-x-1/2 -translate-y-1/2 place-items-center gap-2', children: [jsxs("button", { className: 'col-start-1 col-end-2 row-start-0 row-end-1 grid size-16 rounded-full backdrop-blur-[1px] backdrop-brightness-101 transition-[scale,-webkit-backdrop-filter,backdrop-filter] duration-300 ease-exponential active:scale-95 active:backdrop-blur-[2px] active:backdrop-brightness-125 pointer-fine:hover:scale-105 pointer-fine:hover:backdrop-blur-xs pointer-fine:hover:backdrop-brightness-110 pointer-fine:active:scale-95 pointer-fine:active:backdrop-blur-[2px] pointer-fine:active:backdrop-brightness-125', onClick: togglePlay, onContextMenu: preventContextMenu, title: isPlaying ? 'Pause' : 'Play', children: [jsx(PauseFill, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-0 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 transition-[scale,opacity] duration-500 ease-exponential group-data-playing/video:scale-60 group-data-playing/video:opacity-100' }), jsx(PlayFill, { className: '-right-0.5 col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 transition-[scale,opacity] duration-500 ease-exponential group-data-playing/video:scale-0 group-data-playing/video:opacity-0' })] }), jsxs("button", { className: 'col-start-0 col-end-1 row-start-0 row-end-1 grid size-12 rounded-full backdrop-blur-[1px] backdrop-brightness-101 transition-[scale,-webkit-backdrop-filter,backdrop-filter] duration-300 ease-exponential active:scale-95 active:backdrop-blur-[2px] active:backdrop-brightness-125 pointer-fine:hover:scale-105 pointer-fine:hover:backdrop-blur-xs pointer-fine:hover:backdrop-brightness-110 pointer-fine:active:scale-95 pointer-fine:active:backdrop-blur-[2px] pointer-fine:active:backdrop-brightness-125', onClick: skipBack, onContextMenu: preventContextMenu, title: `Skip Back ${skipDuration} Seconds`, children: [jsx(FiveArrowTriangleheadCounterclockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-meta/video:opacity-100 group-data-alt/video:group-data-meta/video:group-data-ctrl/video:opacity-0 group-data-alt/video:group-data-meta/video:group-data-shift/video:opacity-0' }), jsx(TenArrowTriangleheadCounterclockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:opacity-0 group-data-alt/video:group-data-ctrl/video:opacity-100 group-data-alt/video:group-data-shift/video:group-data-meta/video:group-data-ctrl/video:opacity-0' }), jsx(FifteenArrowTriangleheadCounterclockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:opacity-100 group-data-ctrl/video:opacity-0 group-data-meta/video:opacity-0 group-data-shift/video:opacity-0' }), jsx(ThirtyArrowTriangleheadCounterclockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-shift/video:opacity-100 group-data-alt/video:group-data-ctrl/video:group-data-shift/video:opacity-0 group-data-alt/video:group-data-meta/video:group-data-shift/video:opacity-0' }), jsx(SixtyArrowTriangleheadCounterclockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-shift/video:group-data-meta/video:opacity-100 group-data-alt/video:group-data-shift/video:group-data-meta/video:group-data-ctrl/video:opacity-0' }), jsx(NinetyArrowTriangleheadCounterclockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-shift/video:group-data-meta/video:group-data-ctrl/video:opacity-100' })] }), jsxs("button", { className: 'col-start-2 col-end-3 row-start-0 row-end-1 grid size-12 rounded-full backdrop-blur-[1px] backdrop-brightness-101 transition-[scale,-webkit-backdrop-filter,backdrop-filter] duration-300 ease-exponential active:scale-95 active:backdrop-blur-[2px] active:backdrop-brightness-125 pointer-fine:hover:scale-105 pointer-fine:hover:backdrop-blur-xs pointer-fine:hover:backdrop-brightness-110 pointer-fine:active:scale-95 pointer-fine:active:backdrop-blur-[2px] pointer-fine:active:backdrop-brightness-125', onClick: skipForward, onContextMenu: preventContextMenu, title: `Skip Forward ${skipDuration} Seconds`, children: [jsx(FiveArrowTriangleheadClockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-meta/video:opacity-100 group-data-alt/video:group-data-meta/video:group-data-ctrl/video:opacity-0 group-data-alt/video:group-data-meta/video:group-data-shift/video:opacity-0' }), jsx(TenArrowTriangleheadClockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:opacity-0 group-data-alt/video:group-data-ctrl/video:opacity-100 group-data-alt/video:group-data-shift/video:group-data-meta/video:group-data-ctrl/video:opacity-0' }), jsx(FifteenArrowTriangleheadClockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:opacity-100 group-data-ctrl/video:opacity-0 group-data-meta/video:opacity-0 group-data-shift/video:opacity-0' }), jsx(ThirtyArrowTriangleheadClockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-shift/video:opacity-100 group-data-alt/video:group-data-ctrl/video:group-data-shift/video:opacity-0 group-data-alt/video:group-data-meta/video:group-data-shift/video:opacity-0' }), jsx(SixtyArrowTriangleheadClockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-shift/video:group-data-meta/video:opacity-100 group-data-alt/video:group-data-shift/video:group-data-meta/video:group-data-ctrl/video:opacity-0' }), jsx(NinetyArrowTriangleheadClockwise, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-60 opacity-0 drop-shadow-[0_.25rem_2rem] drop-shadow-neutral-950/75 group-data-alt/video:group-data-shift/video:group-data-meta/video:group-data-ctrl/video:opacity-100' })] })] }), jsxs("div", { className: 'absolute inset-x-2 bottom-2 flex items-center gap-2 rounded-xl bg-neutral-900/50 px-2 py-1 shadow-2xl backdrop-blur-xs backdrop-brightness-110', children: [jsxs("div", { className: 'group/scrubber h-2 w-max flex-grow cursor-grab overflow-clip rounded-md bg-neutral-50/50 backdrop-blur-xs backdrop-brightness-110 transition-[height] duration-300 ease-exponential active:h-4 pointer-fine:hover:h-4 pointer-fine:active:h-4', onMouseDown: initializeSeeking, onMouseMove: handleSeekIndicatorMovement, onMouseUp: handleSeekRelease, children: [jsx("div", { "aria-hidden": 'true', className: 'absolute inset-0 grid transition-cols duration-100 ease-linear', style: { gridTemplateColumns: `${progress / MAX_PROGRESS}fr` }, children: jsx("div", { className: 'overflow-hidden', children: jsxs("div", { className: 'h-full bg-neutral-50/70 text-[1px] text-transparent backdrop-blur-xs backdrop-brightness-125', children: [progress, "/", MAX_PROGRESS] }) }) }), jsx("div", { ...(seekIndicator.isInPlayedArea ? { 'data-in-played-area': true } : {}), "aria-hidden": 'true', className: 'absolute inset-y-0 w-1 cursor-grab bg-neutral-50 opacity-0 transition-opacity duration-300 ease-exponential group-hover/scrubber:opacity-100 data-in-played-area:bg-neutral-500 pointer-coarse:hidden', style: { transform: `translateX(${seekIndicator.position}px)` }, children: "\u00A0" }), jsx("progress", { className: 'sr-only', max: MAX_PROGRESS, value: progress })] }), jsxs(DropDown, { children: [jsx(DropDownButton, { arrow: false, className: 'flex size-6 items-center justify-center rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', title: 'Volume', children: jsx(SpeakerWave3Fill, { className: 'size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75' }) }), jsxs(DropDownItems, { anchor: {
|
|
4487
|
+
gap: '.5rem',
|
|
4488
|
+
padding: '.375rem',
|
|
4489
|
+
to: 'top',
|
|
4490
|
+
}, className: 'bg-neutral-900/50 px-1.5 py-1.5 text-neutral-50 backdrop-blur-xs backdrop-brightness-110', static: true, children: [jsx(DropDownItem, { as: 'button', className: 'flex size-6 items-center justify-center rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', onClick: increaseVolume, title: 'Increase volume', children: jsx(SpeakerPlusFill, { className: 'size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75' }) }), jsx(DropDownSeparator, { className: 'mx-auto my-2 h-24 w-2 cursor-grab overflow-clip rounded-md bg-neutral-50/50 backdrop-blur-xs backdrop-brightness-110 transition-[width] duration-300 ease-exponential active:w-4 pointer-fine:hover:w-4 pointer-fine:active:w-4', children: jsx("div", { className: 'grid size-full rotate-180 transition-rows duration-300 ease-exponential', style: { gridTemplateRows: `${volume}fr` }, children: jsx("div", { className: 'overflow-y-hidden', children: jsxs("div", { className: 'size-full bg-neutral-50/70 text-[1px] text-transparent backdrop-blur-xs backdrop-brightness-125', children: [volume * 100, "%"] }) }) }) }), jsx(DropDownItem, { as: 'button', className: 'flex size-6 items-center justify-center rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', onClick: decreaseVolume, title: 'Decrease volume', children: jsx(SpeakerMinusFill, { className: 'size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75' }) })] })] }), jsx("button", { className: 'flex size-6 items-center justify-center rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', onClick: enterPictureInPicture, title: 'Enter Picture-in-Picture', children: jsx(RectangleFillOnArrowDownForwardTopleadingRectangle, { className: 'size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75' }) }), jsx("button", { className: 'flex size-6 items-center justify-center rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', onClick: handleRemotePlayback, title: 'Remote Playback', children: jsx(RectangleTriangleUp, { className: 'size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75' }) }), jsxs(DropDown, { children: [jsx(DropDownButton, { arrow: false, className: 'flex size-6 items-center justify-center rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', title: 'Other Settings', children: jsx(GearshapeFill, { className: 'size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75' }) }), jsx(DropDownItems, { anchor: {
|
|
4491
|
+
gap: '.5rem',
|
|
4492
|
+
padding: '.375rem',
|
|
4493
|
+
to: 'top end',
|
|
4494
|
+
}, className: 'bg-neutral-900/50 px-1.5 py-1.5 text-neutral-50 backdrop-blur-xs backdrop-brightness-110', children: jsxs(DropDownItem, { as: 'button', className: 'flex items-center gap-2 rounded-lg px-1.5 py-0.5 text-sm drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75 transition-[scale,background-color,color] duration-300 ease-exponential active:scale-95 data-active:bg-neutral-50/90 data-active:text-neutral-950 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', onClick: captureCurrentFrame, children: [jsx(PhotoBadgeArrowDownFill, { className: 'size-5' }), "Capture Current Frame"] }) })] }), jsxs("button", { className: 'grid size-6 rounded-xs transition-transform duration-300 ease-exponential active:scale-95 pointer-fine:hover:scale-105 pointer-fine:active:scale-95', onClick: toggleFullscreen, title: `${isFullscreen ? 'Exit' : 'Enter'} Fullscreen`, children: [jsx(ArrowUpForwardAndArrowDownBackwardRectangle, { className: 'col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-0 opacity-0 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75 transition-[scale,opacity] duration-500 ease-exponential group-data-fullscreen/video:scale-80 group-data-fullscreen/video:opacity-100' }), jsx(ArrowDownBackwardAndArrowUpForwardRectangle, { className: '-right-0.5 col-start-0 col-end-1 row-start-0 row-end-1 size-full scale-80 drop-shadow-[0_.125rem_1rem] drop-shadow-neutral-950/75 transition-[scale,opacity] duration-500 ease-exponential group-data-fullscreen/video:scale-0 group-data-fullscreen/video:opacity-0' })] })] }), jsx("div", { "aria-hidden": 'true', className: 'absolute inset-0 -z-10 text-[1px] text-transparent', onClick: togglePlay, onMouseMove: handleMouseMoveControls, onMouseLeave: clearMouseMoveControlsTimeout, children: isPlaying ? 'Pause' : 'Play' })] }))] }));
|
|
4495
|
+
}
|
|
4496
|
+
|
|
4497
|
+
export { Anchor, Button, Details, DetailsBody, DetailsSummary, DropDown, DropDownButton, DropDownItem, DropDownItems, DropDownSection, DropDownSeparator, Fieldset, Form, Ghost, Heading, IFrame, Input, Link, Modal, ModalClose, ModalDialog, ModalTitle, ModalTrigger, SubmitButton, Textarea, Time, Tooltip, TooltipPanel, TooltipTrigger, Video, createButton, createLink };
|
|
4080
4498
|
//# sourceMappingURL=components.esm.js.map
|