'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),React=require("react"),CustomLink=require("./CustomLink.js"),ProductLink=require("./ProductLink.js");const Link=({setting:e,className:t,style:r})=>{let u=React.useMemo(()=>e?.type==="product"?ProductLink.default:CustomLink.default,[e?.type]);return jsxRuntime.jsx(u,{target:e?.target,href:e?.href,className:t,style:r})};exports.default=Link;
