diff --git a/kiss-translator-ios-safari.user.js b/kiss-translator-ios-safari.user.js index 62778c9..ec78315 100644 --- a/kiss-translator-ios-safari.user.js +++ b/kiss-translator-ios-safari.user.js @@ -31036,7 +31036,7 @@ var dt = "__sc-".concat(f, "__"); //# sourceMappingURL=styled-components.browser.esm.js.map ;// CONCATENATED MODULE: ./src/views/Content/index.js -var Content_templateObject,Content_templateObject2,Content_templateObject3,Content_templateObject4;var LineSpan=st.span(Content_templateObject||(Content_templateObject=_taggedTemplateLiteral(["\n opacity: 0.6;\n text-decoration-line: underline;\n text-decoration-style: ",";\n text-decoration-color: ",";\n text-decoration-thickness: 2px;\n text-underline-offset: 0.3em;\n -webkit-text-decoration-line: underline;\n -webkit-text-decoration-style: ",";\n -webkit-text-decoration-color: ",";\n -webkit-text-decoration-thickness: 2px;\n -webkit-text-underline-offset: 0.3em;\n &:hover {\n opacity: 1;\n }\n"])),function(props){return props.$lineStyle;},function(props){return props.$lineColor;},function(props){return props.$lineStyle;},function(props){return props.$lineColor;});var FuzzySpan=st.span(Content_templateObject2||(Content_templateObject2=_taggedTemplateLiteral(["\n filter: blur(5px);\n transition: filter 0.2s ease-in-out;\n &hover: {\n filter: none;\n }\n"])));var HighlightSpan=st.span(Content_templateObject3||(Content_templateObject3=_taggedTemplateLiteral(["\n color: #fff;\n background-color: ",";\n &hover: {\n filter: none;\n }\n"])),function(props){return props.$bgColor;});var DiySpan=st.span(Content_templateObject4||(Content_templateObject4=_taggedTemplateLiteral(["\n ","\n"])),function(props){return props.$diyStyle;});function StyledSpan(_ref){var textStyle=_ref.textStyle,textDiyStyle=_ref.textDiyStyle,bgColor=_ref.bgColor,children=_ref.children;switch(textStyle){case OPT_STYLE_LINE:// 下划线 +var Content_templateObject,Content_templateObject2,Content_templateObject3,Content_templateObject4;var LineSpan=st.span(Content_templateObject||(Content_templateObject=_taggedTemplateLiteral(["\n opacity: 0.6;\n -webkit-opacity: 0.6;\n text-decoration-line: underline;\n text-decoration-style: ",";\n text-decoration-color: ",";\n text-decoration-thickness: 2px;\n text-underline-offset: 0.3em;\n -webkit-text-decoration-line: underline;\n -webkit-text-decoration-style: ",";\n -webkit-text-decoration-color: ",";\n -webkit-text-decoration-thickness: 2px;\n -webkit-text-underline-offset: 0.3em;\n &:hover {\n opacity: 1;\n -webkit-opacity: 1;\n }\n"])),function(props){return props.$lineStyle;},function(props){return props.$lineColor;},function(props){return props.$lineStyle;},function(props){return props.$lineColor;});var FuzzySpan=st.span(Content_templateObject2||(Content_templateObject2=_taggedTemplateLiteral(["\n filter: blur(5px);\n -webkit-filter: blur(5px);\n &:hover {\n filter: none;\n -webkit-filter: none;\n }\n"])));var HighlightSpan=st.span(Content_templateObject3||(Content_templateObject3=_taggedTemplateLiteral(["\n color: #fff;\n background-color: ",";\n"])),function(props){return props.$bgColor;});var DiySpan=st.span(Content_templateObject4||(Content_templateObject4=_taggedTemplateLiteral(["\n ","\n"])),function(props){return props.$diyStyle;});function StyledSpan(_ref){var textStyle=_ref.textStyle,textDiyStyle=_ref.textDiyStyle,bgColor=_ref.bgColor,children=_ref.children;switch(textStyle){case OPT_STYLE_LINE:// 下划线 return/*#__PURE__*/(0,jsx_runtime.jsx)(LineSpan,{$lineStyle:"solid",$lineColor:bgColor,children:children});case OPT_STYLE_DOTLINE:// 点状线 return/*#__PURE__*/(0,jsx_runtime.jsx)(LineSpan,{$lineStyle:"dotted",$lineColor:bgColor,children:children});case OPT_STYLE_DASHLINE:// 虚线 return/*#__PURE__*/(0,jsx_runtime.jsx)(LineSpan,{$lineStyle:"dashed",$lineColor:bgColor,children:children});case OPT_STYLE_WAVYLINE:// 波浪线 diff --git a/kiss-translator.user.js b/kiss-translator.user.js index 6aac1ce..f9e597d 100644 --- a/kiss-translator.user.js +++ b/kiss-translator.user.js @@ -31036,7 +31036,7 @@ var dt = "__sc-".concat(f, "__"); //# sourceMappingURL=styled-components.browser.esm.js.map ;// CONCATENATED MODULE: ./src/views/Content/index.js -var Content_templateObject,Content_templateObject2,Content_templateObject3,Content_templateObject4;var LineSpan=st.span(Content_templateObject||(Content_templateObject=_taggedTemplateLiteral(["\n opacity: 0.6;\n text-decoration-line: underline;\n text-decoration-style: ",";\n text-decoration-color: ",";\n text-decoration-thickness: 2px;\n text-underline-offset: 0.3em;\n -webkit-text-decoration-line: underline;\n -webkit-text-decoration-style: ",";\n -webkit-text-decoration-color: ",";\n -webkit-text-decoration-thickness: 2px;\n -webkit-text-underline-offset: 0.3em;\n &:hover {\n opacity: 1;\n }\n"])),function(props){return props.$lineStyle;},function(props){return props.$lineColor;},function(props){return props.$lineStyle;},function(props){return props.$lineColor;});var FuzzySpan=st.span(Content_templateObject2||(Content_templateObject2=_taggedTemplateLiteral(["\n filter: blur(5px);\n transition: filter 0.2s ease-in-out;\n &hover: {\n filter: none;\n }\n"])));var HighlightSpan=st.span(Content_templateObject3||(Content_templateObject3=_taggedTemplateLiteral(["\n color: #fff;\n background-color: ",";\n &hover: {\n filter: none;\n }\n"])),function(props){return props.$bgColor;});var DiySpan=st.span(Content_templateObject4||(Content_templateObject4=_taggedTemplateLiteral(["\n ","\n"])),function(props){return props.$diyStyle;});function StyledSpan(_ref){var textStyle=_ref.textStyle,textDiyStyle=_ref.textDiyStyle,bgColor=_ref.bgColor,children=_ref.children;switch(textStyle){case OPT_STYLE_LINE:// 下划线 +var Content_templateObject,Content_templateObject2,Content_templateObject3,Content_templateObject4;var LineSpan=st.span(Content_templateObject||(Content_templateObject=_taggedTemplateLiteral(["\n opacity: 0.6;\n -webkit-opacity: 0.6;\n text-decoration-line: underline;\n text-decoration-style: ",";\n text-decoration-color: ",";\n text-decoration-thickness: 2px;\n text-underline-offset: 0.3em;\n -webkit-text-decoration-line: underline;\n -webkit-text-decoration-style: ",";\n -webkit-text-decoration-color: ",";\n -webkit-text-decoration-thickness: 2px;\n -webkit-text-underline-offset: 0.3em;\n &:hover {\n opacity: 1;\n -webkit-opacity: 1;\n }\n"])),function(props){return props.$lineStyle;},function(props){return props.$lineColor;},function(props){return props.$lineStyle;},function(props){return props.$lineColor;});var FuzzySpan=st.span(Content_templateObject2||(Content_templateObject2=_taggedTemplateLiteral(["\n filter: blur(5px);\n -webkit-filter: blur(5px);\n &:hover {\n filter: none;\n -webkit-filter: none;\n }\n"])));var HighlightSpan=st.span(Content_templateObject3||(Content_templateObject3=_taggedTemplateLiteral(["\n color: #fff;\n background-color: ",";\n"])),function(props){return props.$bgColor;});var DiySpan=st.span(Content_templateObject4||(Content_templateObject4=_taggedTemplateLiteral(["\n ","\n"])),function(props){return props.$diyStyle;});function StyledSpan(_ref){var textStyle=_ref.textStyle,textDiyStyle=_ref.textDiyStyle,bgColor=_ref.bgColor,children=_ref.children;switch(textStyle){case OPT_STYLE_LINE:// 下划线 return/*#__PURE__*/(0,jsx_runtime.jsx)(LineSpan,{$lineStyle:"solid",$lineColor:bgColor,children:children});case OPT_STYLE_DOTLINE:// 点状线 return/*#__PURE__*/(0,jsx_runtime.jsx)(LineSpan,{$lineStyle:"dotted",$lineColor:bgColor,children:children});case OPT_STYLE_DASHLINE:// 虚线 return/*#__PURE__*/(0,jsx_runtime.jsx)(LineSpan,{$lineStyle:"dashed",$lineColor:bgColor,children:children});case OPT_STYLE_WAVYLINE:// 波浪线