"use strict";var jsxRuntime=require("react/jsx-runtime"),Text=require("../../../../text/components/Text.js"),attrs=require("../common/attrs.js"),index=require("../../../constants/index.js");const SellingPlanLabel=({setting:e,styles:t,id:l})=>{let{sellingTitle:s,sellingTitleOneTime:n,sellingType:r}=e??{},i=r===index.SubscriptionEnum.ONE_TIME,a=i?n:s,{typo:x,textAlign:u,direction:g}=attrs.getSellingPlanLabelAttrs({styles:t,sellingType:r});return jsxRuntime.jsx("label",{htmlFor:l,children:jsxRuntime.jsx(Text.default,{className:"gp-flex-1",textClassWrapper:"gp-leading-[24px]",styles:{typo:x,textAlign:u,direction:g},setting:{text:a}})})};exports.SellingPlanLabel=SellingPlanLabel;
