const e=require("../../style/index.js"),t=require("../../theme/util/genComponentStyleHook.js"),n=require("../../theme/util/statistic.js");var r=t=>{let{componentCls:n}=t;return{[n]:{...e.resetComponent(t),display:`flex`,justifyContent:`center`,alignItems:`center`,padding:t.paddingSM,backgroundColor:t.colorWhite,borderRadius:t.borderRadiusLG,border:`${t.lineWidth}px ${t.lineType} ${t.colorSplit}`,position:`relative`,width:`100%`,height:`100%`,overflow:`hidden`,[`& > ${n}-mask`]:{position:`absolute`,insetBlockStart:0,insetInlineStart:0,zIndex:10,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,width:`100%`,height:`100%`,color:t.colorText,lineHeight:t.lineHeight,background:t.QRCodeMaskBackgroundColor,textAlign:`center`,[`& > ${n}-expired , & > ${n}-scanned`]:{color:t.QRCodeTextColor}},"&-icon":{marginBlockEnd:t.marginXS,fontSize:t.controlHeight}},[`${n}-borderless`]:{borderColor:`transparent`}}},i=t.default(`QRCode`,e=>r(n.merge(e,{QRCodeTextColor:`rgba(0, 0, 0, 0.88)`,QRCodeMaskBackgroundColor:`rgba(255, 255, 255, 0.96)`})));exports.default=i;