"use strict";var e=require("react");exports.useGetTextSetting=({isInStock:t,props:r,isRequireSubscriptionConsent:s})=>{let c=e.useMemo(()=>t?s?r?.setting?.requireAcceptTermLabel??"Accept terms to purchase":r?.setting?.text:r?.setting?.outOfStockLabel,[t,s,r?.setting?.text,r?.setting?.outOfStockLabel,r?.setting?.requireAcceptTermLabel]);return{text:c}};
