@page-speed/agent-everywhere 1.1.0 → 1.1.1
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/dist/index.cjs +52 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +53 -35
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9949,44 +9949,62 @@ function AudioPlayer({
|
|
|
9949
9949
|
}) })
|
|
9950
9950
|
] });
|
|
9951
9951
|
}
|
|
9952
|
+
function BrandFacebook({ className }) {
|
|
9953
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" }) });
|
|
9954
|
+
}
|
|
9955
|
+
function BrandInstagram({ className }) {
|
|
9956
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z" }) });
|
|
9957
|
+
}
|
|
9958
|
+
function BrandX({ className }) {
|
|
9959
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932zM17.61 20.644h2.039L6.486 3.24H4.298z" }) });
|
|
9960
|
+
}
|
|
9961
|
+
function BrandLinkedin({ className }) {
|
|
9962
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z" }) });
|
|
9963
|
+
}
|
|
9964
|
+
function BrandYoutube({ className }) {
|
|
9965
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }) });
|
|
9966
|
+
}
|
|
9967
|
+
function BrandGithub({ className }) {
|
|
9968
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "currentColor", className, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12z" }) });
|
|
9969
|
+
}
|
|
9952
9970
|
var ICON_MAP = {
|
|
9953
|
-
globe: lucideReact.Globe,
|
|
9954
|
-
facebook:
|
|
9955
|
-
instagram:
|
|
9956
|
-
twitter:
|
|
9957
|
-
x:
|
|
9958
|
-
linkedin:
|
|
9959
|
-
youtube:
|
|
9960
|
-
github:
|
|
9961
|
-
mail: lucideReact.Mail,
|
|
9962
|
-
email: lucideReact.Mail,
|
|
9963
|
-
phone: lucideReact.Phone,
|
|
9964
|
-
link: lucideReact.Link,
|
|
9965
|
-
url: lucideReact.Link,
|
|
9966
|
-
image: lucideReact.Image,
|
|
9967
|
-
photo: lucideReact.Image,
|
|
9968
|
-
video: lucideReact.Video,
|
|
9969
|
-
star: lucideReact.Star,
|
|
9970
|
-
heart: lucideReact.Heart,
|
|
9971
|
-
check: lucideReact.Check,
|
|
9972
|
-
settings: lucideReact.Settings,
|
|
9973
|
-
user: lucideReact.User,
|
|
9974
|
-
account: lucideReact.User,
|
|
9975
|
-
calendar: lucideReact.Calendar,
|
|
9976
|
-
"map-pin": lucideReact.MapPin,
|
|
9977
|
-
mappin: lucideReact.MapPin,
|
|
9978
|
-
location: lucideReact.MapPin,
|
|
9979
|
-
music: lucideReact.Music,
|
|
9980
|
-
camera: lucideReact.Camera,
|
|
9981
|
-
message: lucideReact.MessageCircle,
|
|
9982
|
-
chat: lucideReact.MessageCircle,
|
|
9983
|
-
cart: lucideReact.ShoppingCart,
|
|
9984
|
-
shop: lucideReact.ShoppingCart
|
|
9971
|
+
globe: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Globe, { "aria-hidden": "true", className: c }),
|
|
9972
|
+
facebook: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandFacebook, { className: c }),
|
|
9973
|
+
instagram: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandInstagram, { className: c }),
|
|
9974
|
+
twitter: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandX, { className: c }),
|
|
9975
|
+
x: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandX, { className: c }),
|
|
9976
|
+
linkedin: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandLinkedin, { className: c }),
|
|
9977
|
+
youtube: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandYoutube, { className: c }),
|
|
9978
|
+
github: (c) => /* @__PURE__ */ jsxRuntime.jsx(BrandGithub, { className: c }),
|
|
9979
|
+
mail: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { "aria-hidden": "true", className: c }),
|
|
9980
|
+
email: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { "aria-hidden": "true", className: c }),
|
|
9981
|
+
phone: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Phone, { "aria-hidden": "true", className: c }),
|
|
9982
|
+
link: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link, { "aria-hidden": "true", className: c }),
|
|
9983
|
+
url: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link, { "aria-hidden": "true", className: c }),
|
|
9984
|
+
image: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Image, { "aria-hidden": "true", className: c }),
|
|
9985
|
+
photo: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Image, { "aria-hidden": "true", className: c }),
|
|
9986
|
+
video: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Video, { "aria-hidden": "true", className: c }),
|
|
9987
|
+
star: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Star, { "aria-hidden": "true", className: c }),
|
|
9988
|
+
heart: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Heart, { "aria-hidden": "true", className: c }),
|
|
9989
|
+
check: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { "aria-hidden": "true", className: c }),
|
|
9990
|
+
settings: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { "aria-hidden": "true", className: c }),
|
|
9991
|
+
user: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true", className: c }),
|
|
9992
|
+
account: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true", className: c }),
|
|
9993
|
+
calendar: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { "aria-hidden": "true", className: c }),
|
|
9994
|
+
"map-pin": (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MapPin, { "aria-hidden": "true", className: c }),
|
|
9995
|
+
mappin: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MapPin, { "aria-hidden": "true", className: c }),
|
|
9996
|
+
location: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MapPin, { "aria-hidden": "true", className: c }),
|
|
9997
|
+
music: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Music, { "aria-hidden": "true", className: c }),
|
|
9998
|
+
camera: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { "aria-hidden": "true", className: c }),
|
|
9999
|
+
message: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MessageCircle, { "aria-hidden": "true", className: c }),
|
|
10000
|
+
chat: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MessageCircle, { "aria-hidden": "true", className: c }),
|
|
10001
|
+
cart: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShoppingCart, { "aria-hidden": "true", className: c }),
|
|
10002
|
+
shop: (c) => /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShoppingCart, { "aria-hidden": "true", className: c })
|
|
9985
10003
|
};
|
|
9986
10004
|
function resolveIconName(name, className = "size-5 shrink-0") {
|
|
9987
10005
|
if (!name) return null;
|
|
9988
|
-
const
|
|
9989
|
-
return
|
|
10006
|
+
const render = ICON_MAP[name.trim().toLowerCase()];
|
|
10007
|
+
return render ? render(className) : null;
|
|
9990
10008
|
}
|
|
9991
10009
|
var DEFAULT_OPEN_GRAPH_ENDPOINT = "/api/opengraph";
|
|
9992
10010
|
function firstString(...values) {
|